Problem with submitLink outside a form

2010-07-22 Thread Andrea Selva
Hi list, sorry for this repost, but I'cant find an answer to the question
and I don't know if this behaviour is intentional or a bug

I'm new to wicket. I've some problem with a Formteser.submitLink that should
sumbit a form throught a link that stay outside the form. I've played with
the wicket provided test case org.apache.wicket.markup.html.
link.submitLink.FormPage and FormPageTest.
in the FormPage I've changed the definition of somevalue deleting the final
keyword

protected int somevalue = 1;

In the TestCase I changed the testFormAndLinkAreSubmitted as follows, simply
setting a value in the field before the submitLink and then verify in the
model the correctness of the value. but fails, as if the submitLink doesn't
post the data.

public void testFormAndLinkAreSubmitted()
{
WicketTester tester = new WicketTester();
tester.startPage(FormPage.class);

FormPage page = (FormPage)tester.getLastRenderedPage();

Assert.assertFalse(page.isSubmitLinkSubmitted());
Assert.assertFalse(page.isFormSubmitted());

FormTester formTester = tester.newFormTester(form);
formTester.setValue(field, 2);
formTester.submitLink(link, true);

page = (FormPage)tester.getLastRenderedPage();

Assert.assertTrue(page.isFormSubmitted());
Assert.assertTrue(page.isSubmitLinkSubmitted());
tester.assertModelValue(form:field, 2);
}

It's a bug or a mine misunderstanding?Somebody could help me, please?
 Many thanks in advance
  Andrea Selva


Re: DatePicker css

2010-07-22 Thread PDiefent

Hi,
I also have a problem with the date picker CSS. The columns in the calendars
GUI always resize according to the column width of the table in the
background of the calendar GUI.
Is it possible to isolate the calendar in a separate layer/div where no
resizing of the calendar columns take place?
Thanks, Peter
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DatePicker-css-tp1844715p2298194.html
Sent from the Wicket - User 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: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
Hi All,

I did look up the Nabble archive for key-words like 'AjaxButton onSubmit',
AjaxButton and OnError. I did not get anything that addressed this.So do
bear with me with this is re-post.

I have a field(few fields) for which is setRequired(true).

Below this field(s) I have an WebMarkupContainer that contains a
ListMultipleChoice control with Add and Add buttons. These buttons are of
type AjaxButton.

When I select some items form the ListMultipleChoice control and hit Add or
Add ALL, it triggers the form validation for the 'required fields' and in
this case I have not 'yet' populated them. So instead of onSubmit, it goes
to onError.

How can I get around this? Best practices?

Thanks for the time
Regards
Niv


Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread MattyDE

you could Try to set 

/**
 * Sets the defaultFormProcessing property. When false (default is 
true),
all validation and
 * form updating is bypassed and the onSubmit method of that button is
called directly, and the
 * onSubmit method of the parent form is not called. A common use for 
this
is to create a cancel
 * button.
 * 
 * @param defaultFormProcessing
 *defaultFormProcessing
 * @return This
 */
public final Button setDefaultFormProcessing(boolean 
defaultFormProcessing)

to false on the AjaxButton (Button.class)
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Re-AjaxButton-OnSubmit-Validation-Overridden-tp2298251p2298256.html
Sent from the Wicket - User 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: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
 Thanks for that, that worked. I have used this feature before for the
Cancel operation. Just did not occur to me.
Cheers


On Thu, Jul 22, 2010 at 3:41 PM, MattyDE ufer.mar...@gmail.com wrote:


 you could Try to set

/**
 * Sets the defaultFormProcessing property. When false (default is
 true),
 all validation and
 * form updating is bypassed and the onSubmit method of that button
 is
 called directly, and the
 * onSubmit method of the parent form is not called. A common use
 for this
 is to create a cancel
 * button.
 *
 * @param defaultFormProcessing
 *defaultFormProcessing
 * @return This
 */
public final Button setDefaultFormProcessing(boolean
 defaultFormProcessing)

 to false on the AjaxButton (Button.class)
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Re-AjaxButton-OnSubmit-Validation-Overridden-tp2298251p2298256.html
 Sent from the Wicket - User 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




Standard way to internationalize a website with /en, /de ?

2010-07-22 Thread Laurentiu Trica
Hello,

Is there a standard and easy way to add the language parameter in the URL of
an existing app?
I would like to have the www.example.com/en for English language and
www.example.com/de for German language.
Is this an easy task? Any hints?

Thank you.

-- 
Best regards,
Laurentiu Trica


Re: Standard way to internationalize a website with /en, /de ?

2010-07-22 Thread Martin Makundi
Hi!

You have
XX_en.properties
XX_de.properties

etc.

**
Martin

2010/7/22 Laurentiu Trica laurentiu.tr...@finalfolder.biz:
 Hello,

 Is there a standard and easy way to add the language parameter in the URL of
 an existing app?
 I would like to have the www.example.com/en for English language and
 www.example.com/de for German language.
 Is this an easy task? Any hints?

 Thank you.

 --
 Best regards,
 Laurentiu Trica


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



Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
Although..the Model is not updated on the ListMultipleChoice control. So
when I use the Remove Selected button I get the values from
listControl.getModelObject() this returns a null list.So a NP exception is
thrown.

I turned the defaultFormProcessing back on to the standard one for this'
particular button'. When I provide the required fields with data then it
works as in no NP exception and the model does return the values selected.

Any pointers? Cheers
Niv

On Thu, Jul 22, 2010 at 4:19 PM, Nivedan Nadaraj shravann...@gmail.comwrote:

 Thanks for that, that worked. I have used this feature before for the
 Cancel operation. Just did not occur to me.
 Cheers



 On Thu, Jul 22, 2010 at 3:41 PM, MattyDE ufer.mar...@gmail.com wrote:


 you could Try to set

/**
 * Sets the defaultFormProcessing property. When false (default is
 true),
 all validation and
 * form updating is bypassed and the onSubmit method of that button
 is
 called directly, and the
 * onSubmit method of the parent form is not called. A common use
 for this
 is to create a cancel
 * button.
 *
 * @param defaultFormProcessing
 *defaultFormProcessing
 * @return This
 */
public final Button setDefaultFormProcessing(boolean
 defaultFormProcessing)

 to false on the AjaxButton (Button.class)
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Re-AjaxButton-OnSubmit-Validation-Overridden-tp2298251p2298256.html
 Sent from the Wicket - User 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: Standard way to internationalize a website with /en, /de ?

2010-07-22 Thread Laurentiu Trica
Hello,

Yes, I have all that, the application is already i18n, but I need to put the
language parameters in the URL for Google to index as separate pages (en,
de).
This is my trouble...

On Thu, Jul 22, 2010 at 11:32 AM, Martin Makundi 
martin.maku...@koodaripalvelut.com wrote:

 Hi!

 You have
 XX_en.properties
 XX_de.properties

 etc.

 **
 Martin

 2010/7/22 Laurentiu Trica laurentiu.tr...@finalfolder.biz:
  Hello,
 
  Is there a standard and easy way to add the language parameter in the URL
 of
  an existing app?
  I would like to have the www.example.com/en for English language and
  www.example.com/de for German language.
  Is this an easy task? Any hints?
 
  Thank you.
 
  --
  Best regards,
  Laurentiu Trica
 

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




-- 
Best regards,
Laurentiu Trica


Re: Clean URLs without /?wicket:interface=:0:::: stuff - is it possible?

2010-07-22 Thread Laurentiu Trica
Thank you, I'll have a look at these suggestions.

On Wed, Jul 21, 2010 at 7:23 PM, Jeffrey Schneller 
jeffrey.schnel...@envisa.com wrote:

 Look into page mounting, BookmarkablePageLink

 mount(new BookmarkablePageRequestTargetUrlCodingStrategy(nicename,
 your.package.PageName.class, null));

 BookmarkablePageLink nicenameLink = new
 BookmarkablePageLink(nicename_link, your.package.PageName.class);



 -Original Message-
 From: Laurentiu Trica [mailto:laurentiu.tr...@finalfolder.biz]
 Sent: Wednesday, July 21, 2010 11:23 AM
 To: users@wicket.apache.org
 Subject: Clean URLs without /?wicket:interface=:0 stuff - is it
 possible?

 Hello,

 I'm rather new to wicket but I'm amazed about it's power.

 I still have a bothering question: is it possible to make the website
 with
 clean URLs?

 I mean I want to have the first page like /welcome, the about page like
 /about and somehow to get rid of the /?wicket:interface=:0 stuff -
 this
 appears if you click the banner twice, for example...
 This is for usability issues as is for SEO reasons.

 Thank you in advance.

 --
 Best regards,
 Laurentiu Trica

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




-- 
Best regards,
Laurentiu Trica


Re: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread vov

Hi,

Read
http://www.wicketframework.org/apidocs/wicket/markup/html/form/Form.html
about nested forms.
Also your can put your ListMultipleChoice and buttons to separate Panel
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Re-AjaxButton-OnSubmit-Validation-Overridden-tp2298251p2298343.html
Sent from the Wicket - User 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: AjaxButton OnSubmit Validation Overridden

2010-07-22 Thread Nivedan Nadaraj
Hi
Thanks for that, I guess building the piece of code as a separate
component(panle) helps. This should deal with Multi Select with add/remove
buttons with submit (Default behavior) .
Having the multi-select logic more generic would help in re-use.I think.

Cheers

On Thu, Jul 22, 2010 at 4:58 PM, vov vov...@mail.ru wrote:


 Hi,

 Read
 http://www.wicketframework.org/apidocs/wicket/markup/html/form/Form.html
 about nested forms.
 Also your can put your ListMultipleChoice and buttons to separate Panel
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Re-AjaxButton-OnSubmit-Validation-Overridden-tp2298251p2298343.html
 Sent from the Wicket - User 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: Clean URLs without /?wicket:interface=:0:::: stuff - is it possible?

2010-07-22 Thread Josh Kamau
Laurentiu Trica,I would highly recommend that you get wicket in action book.
Wicket has very many cool features. URL mapping is just one of them. To
avoid making obvious mistakes, its a good idea to have a big picture of the
entire framework. This will help you make informed design decisions rather
than doing something one way and then you discover that there is a cool
feature that makes it easier to do the same thing. The book will give you a
clear overview of all the things you need to know in advance.

Regards.
Josh


On Thu, Jul 22, 2010 at 11:45 AM, Laurentiu Trica 
laurentiu.tr...@finalfolder.biz wrote:

 Thank you, I'll have a look at these suggestions.

 On Wed, Jul 21, 2010 at 7:23 PM, Jeffrey Schneller 
 jeffrey.schnel...@envisa.com wrote:

  Look into page mounting, BookmarkablePageLink
 
  mount(new BookmarkablePageRequestTargetUrlCodingStrategy(nicename,
  your.package.PageName.class, null));
 
  BookmarkablePageLink nicenameLink = new
  BookmarkablePageLink(nicename_link, your.package.PageName.class);
 
 
 
  -Original Message-
  From: Laurentiu Trica [mailto:laurentiu.tr...@finalfolder.biz]
  Sent: Wednesday, July 21, 2010 11:23 AM
  To: users@wicket.apache.org
  Subject: Clean URLs without /?wicket:interface=:0 stuff - is it
  possible?
 
  Hello,
 
  I'm rather new to wicket but I'm amazed about it's power.
 
  I still have a bothering question: is it possible to make the website
  with
  clean URLs?
 
  I mean I want to have the first page like /welcome, the about page like
  /about and somehow to get rid of the /?wicket:interface=:0 stuff -
  this
  appears if you click the banner twice, for example...
  This is for usability issues as is for SEO reasons.
 
  Thank you in advance.
 
  --
  Best regards,
  Laurentiu Trica
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 


 --
 Best regards,
 Laurentiu Trica



Re: Line breaks and label

2010-07-22 Thread Martijn Dashorst
This is not a wicket problem, but rather a browser rendering issue.
Use nbsp; instead of whitespace.

Martijn

On Thu, Jul 22, 2010 at 5:47 AM, Nii Amon Dsane jaz...@gmail.com wrote:
 Hello,

 I have a label that's displayed on a page. The label displays but with a
 linebreak and this breaks the sentence that I am writing. How do I get rid
 of the line break after the label?

 My code is below (the problematic label is svcName):

 List list = getServices();
 ListView listview = new ListView(servicesList, list) {
 protected void populateItem(ListItem item) {
 Service svc = (Service) item.getModelObject();

 final String svcUrl = svc.svcUrl();
 String svcName = svc.getName();
 String count = Hits:  + svc.count();

 Link svcLink = new Link(svcUrl) {
 @Override
 public void onClick() {}

 @Override
 protected void onComponentTag(final ComponentTag tag) {
 tag.put(href, svcUrl);
 }
 };
 svcLink.add(new Label(svcName, svcName));
 item.add(svcLink);
 item.add(new Label(svcHits, count));
 }
 };
 add(listview);

 And this is my HTML view (the problematic label is svcName):

 ul class=projects
    li wicket:id=servicesList
     a wicket:id=svcUrlspan wicket:id=svcName//a
     span
     a href=/svcStatsspan wicket:id=svcHits//a |
     a href=/svcEditEdit/a |
     a href=/svcStatToggleDeactivate/a |
     a href=/svcDelDelete/a
     /span
    /li

 /ul

 Many thanks
 nii amon

 I never see what has been done; I only see what remains to be done - Buddha




-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.8

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



Re: Line breaks and label

2010-07-22 Thread Witold Czaplewski
Or use in CSS: white-space:nowrap;

Witold

Am Thu, 22 Jul 2010 11:56:57 +0200
schrieb Martijn Dashorst martijn.dasho...@gmail.com:

 This is not a wicket problem, but rather a browser rendering issue.
 Use nbsp; instead of whitespace.
 
 Martijn
 
 On Thu, Jul 22, 2010 at 5:47 AM, Nii Amon Dsane jaz...@gmail.com wrote:
  Hello,
 
  I have a label that's displayed on a page. The label displays but with a
  linebreak and this breaks the sentence that I am writing. How do I get rid
  of the line break after the label?
 
  My code is below (the problematic label is svcName):
 
  List list = getServices();
  ListView listview = new ListView(servicesList, list) {
  protected void populateItem(ListItem item) {
  Service svc = (Service) item.getModelObject();
 
  final String svcUrl = svc.svcUrl();
  String svcName = svc.getName();
  String count = Hits:  + svc.count();
 
  Link svcLink = new Link(svcUrl) {
  @Override
  public void onClick() {}
 
  @Override
  protected void onComponentTag(final ComponentTag tag) {
  tag.put(href, svcUrl);
  }
  };
  svcLink.add(new Label(svcName, svcName));
  item.add(svcLink);
  item.add(new Label(svcHits, count));
  }
  };
  add(listview);
 
  And this is my HTML view (the problematic label is svcName):
 
  ul class=projects
     li wicket:id=servicesList
      a wicket:id=svcUrlspan wicket:id=svcName//a
      span
      a href=/svcStatsspan wicket:id=svcHits//a |
      a href=/svcEditEdit/a |
      a href=/svcStatToggleDeactivate/a |
      a href=/svcDelDelete/a
      /span
     /li
 
  /ul
 
  Many thanks
  nii amon
 
  I never see what has been done; I only see what remains to be done - Buddha
 
 
 
 


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



Re: Standard way to internationalize a website with /en, /de ?

2010-07-22 Thread Alex Objelean

There is a page on wiki describing how this can be done:

https://cwiki.apache.org/confluence/display/WICKET/Wicket+and+localized+URLs

Alex
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Standard-way-to-internationalize-a-website-with-en-de-tp2298300p2298625.html
Sent from the Wicket - User 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: Size of ListView

2010-07-22 Thread Danny van Bruggen
No, we can't change the component tree in onAfterRender - Wicket
complains that it cannot increase the page version after rendering.

On 7/21/10, Vincent Lussenburg vincent.lussenb...@gmail.com wrote:
 I remember trying that, but getting slapped by wicket for trying to change
 the component tree after rendering.. Or am I missing something?

 We'll doublecheck it tomorrow.

 Groet,
 Vincent

 On Jul 21, 2010, at 18:37, Igor Vaynberg igor.vaynb...@gmail.com wrote:

 if the data is strictly read-only and does not contain any links you
 can try removing the list items in afterrender()

 -igor

 On Wed, Jul 21, 2010 at 7:50 AM, Danny van Bruggen tsuih...@gmail.com
 wrote:
 Hello all,

 We're developing a non-Ajax application that displays a bunch of big
 tables - about five columns, 300 rows. Since session size was
 increasing a lot, we looked into the cause of it, and (after making
 everything detachable and switching to PropertyListModel) found out
 that the ListItems of each ListView still accounted for about 100k.

 Since all the data in the tables is read only, we're wondering if we
 can skip serializing the ListItems. Is this possible?

 Is there another approach?

 Danny van Bruggen

 -
 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: Animated page switch possible?

2010-07-22 Thread Martin Grigorov
Anyone knows a URL where we can see such reload in action ?
I can imagine it with Ajax reload but not with normal/full page reload.

On Thu, Jul 22, 2010 at 12:47 AM, 7zark7 7za...@gmail.com wrote:

 Folks I think there is a valid usage here for mobile device apps which use
 animations between panels.  I've run into this myself.

 Granted a webapp is not native, but some clients do desire a close to
 native experience and this is a nice touch.

 Sent from my iPod

 On Jul 21, 2010, at 12:48 PM, James Carman ja...@carmanconsulting.com
 wrote:

  If not, hit them with this...
 
  These are not the page switching animations you're looking for.  Move
 along.
 
  On Wed, Jul 21, 2010 at 3:38 PM, Per Newgro per.new...@gmx.ch wrote:
  Ok thats a point.
 
  Thanks
  Per
 
  -
  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: TextArea StringValidator and DateValidator

2010-07-22 Thread vov

Create XML file that named same with your class and put ot it

entry key=studyDescriptionTxtArea.StringValidator.rangeYOUR TEXT HERE is
not between ${minimum} and ${maximum} characters long/entry

instead studyDescriptionTxtArea must be wicket:id of your TextField
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Re-TextArea-StringValidator-and-DateValidator-tp2298113p2298722.html
Sent from the Wicket - User 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: show modal window on cometd event using IChannelTarget

2010-07-22 Thread fachhoch

I  a using  a modalwindow and on an event I wan to call modalWindow.show()

 the  method   modalWindow.show()   takes AjaxTargetRequest ,as input
parameter, 
the problem I have is I donot have AjaxRequestTarget but I have 
org.wicketstuff.push.IchannelTarget , 
Please tell me how can I can I convert   org.wicketstuff.push.IchannelTarget 
to AjaxRequestTarget ?

  
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/show-modal-window-on-cometd-event-using-IChannelTarget-tp2296068p2298726.html
Sent from the Wicket - User 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



How to autogenerate WebPage classes for static pages?

2010-07-22 Thread Arjun Dhar

Hi,
 a section of my website is static pages (template) but no need of injecting
any components 
[I prefer getting as much dine through inheritance cleanly over Panels].

Each markup has to have a corresponding WebPage in wicket. 
I'm exploring the ASM library with CGLIB to auto generate classes for static
templates ...is there any wicket way of doing this already? 

..or if someone has a Wicket way or even the CGLIB/JAVASSIST/ASM code ready
to go, I'd appreciate it.

thanks
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-autogenerate-WebPage-classes-for-static-pages-tp2298749p2298749.html
Sent from the Wicket - User 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: How to autogenerate WebPage classes for static pages?

2010-07-22 Thread Martin Grigorov
I'd use a WebPage with custom template loading (see
http://wicketstuff.org/wicket14/customresourceloading/)
Mount this page for all URLs with static data.

Then the current URL can be found with
String pageUrl = getRequest().getPath();

load the appropriate .html depending on 'pageUrl'.

On Thu, Jul 22, 2010 at 4:19 PM, Arjun Dhar dhar...@yahoo.com wrote:


 Hi,
  a section of my website is static pages (template) but no need of
 injecting
 any components
 [I prefer getting as much dine through inheritance cleanly over Panels].

 Each markup has to have a corresponding WebPage in wicket.
 I'm exploring the ASM library with CGLIB to auto generate classes for
 static
 templates ...is there any wicket way of doing this already?

 ..or if someone has a Wicket way or even the CGLIB/JAVASSIST/ASM code ready
 to go, I'd appreciate it.

 thanks
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/How-to-autogenerate-WebPage-classes-for-static-pages-tp2298749p2298749.html
 Sent from the Wicket - User 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: TextArea StringValidator and DateValidator

2010-07-22 Thread Nivedan Nadaraj
Thanks will try that. Cheers
Thanks for ut time
Cheers
Niv
On Thu, Jul 22, 2010 at 10:07 PM, vov vov...@mail.ru wrote:


 Create XML file that named same with your class and put ot it

 entry key=studyDescriptionTxtArea.StringValidator.rangeYOUR TEXT HERE
 is
 not between ${minimum} and ${maximum} characters long/entry

 instead studyDescriptionTxtArea must be wicket:id of your TextField
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Re-TextArea-StringValidator-and-DateValidator-tp2298113p2298722.html
 Sent from the Wicket - User 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




How to be a Top Wicket Developer

2010-07-22 Thread Nivedan Nadaraj
Hi Guys

This is off topic but how does one become a top developer for wicket? What
do you think brings forth that talent and creativity?
Cheers
Niv


Re: How to be a Top Wicket Developer

2010-07-22 Thread Martin Makundi
Fix a few core bugs and pimp 1.5 ;]

**
Martin

2010/7/22 Nivedan Nadaraj shravann...@gmail.com:
 Hi Guys

 This is off topic but how does one become a top developer for wicket? What
 do you think brings forth that talent and creativity?
 Cheers
 Niv


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



Re: Line breaks and label

2010-07-22 Thread Nii Amon Dsane

Hi Martijn,

many thanks for the response. The linebreaks are not being applied on
whitespaces. I am using spans with wicket:id to write out some strings in my
markup. The strings are displayed alright but I notice that the linebreaks
are applied before and after the string. For instance, I have a label:

item.add(new Label(svcHits, count)); // count is some string

When I display this is in my markup:

/svcStats  

it writes a linebreak before   and after   so that the svcHits string
appears on a line by itself. So I cannot use  nbsp to fix it.

nii amon
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Line-breaks-and-label-tp2298095p2298886.html
Sent from the Wicket - User 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: Line breaks and label

2010-07-22 Thread Nii Amon Dsane

Hi Witold,

I must be doing something very wrong because the CSS doesn't work on any tag
that has wicket:id! I checked the Pro Wicket book and apparently if you put
your CSS files into the head of the markup file, the styles are going to
apply. In my case the styles apply to all tags which do not have the
wicket:id set on them. Quite strange!

nii amon
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Line-breaks-and-label-tp2298095p2298899.html
Sent from the Wicket - User 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: How to be a Top Wicket Developer

2010-07-22 Thread Brian Topping
I think it primarily comes from having a client that will push you to do things 
with it that you didn't think you could do before.  

Otherwise, you have to push yourself, and that takes a longer because people 
naturally avoid things that they aren't familiar with.

Note there are different types of Wicket developers.  If you want to work on 
the framework itself, it's a superset of the skills to be a great app developer 
using Wicket.  I personally have no shame in being a great Wicket developer who 
is very happy with what's there already.  But if you want to be a contributor 
to the framework, you're obviously going to have to have a vision for what you 
need and be able to package it in a way that others will find pleasing, and do 
so with a coding style that doesn't annoy the rest of the team members.  From 
my experience with other OSS projects, that's something that's better handled 
slowly and over time.  If someone was wondering what it takes to be a top 
framework developer, they probably don't have it yet, so I would focus first on 
creating great apps first, and back to getting some work where you can practice 
and be pushed to do things you haven't done before.

$0.02, YMMV, etc.

On Jul 22, 2010, at 11:33 AM, Nivedan Nadaraj wrote:

 Hi Guys
 
 This is off topic but how does one become a top developer for wicket? What
 do you think brings forth that talent and creativity?
 Cheers
 Niv


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



Re: How to be a Top Wicket Developer

2010-07-22 Thread Nivedan Nadaraj
   1. Brian..great thoughts. I am just a beginer in this framework but
   amazed at the knowledge and I must quote Callinghan sorry if I mispelt, he
   was the main guy for Stuts framework a decade ago.He said he had the servlet
   spec in the inside of his eyeballs. I always wondered!!!

Point taken building apps with a self drive is the only option I have.But I
have worked in .Net and Java..its a big challenge here in terms of
RAD...driving this particular app I want to do justice , follow proper
design guidelines from the leaders and deliver a product if not great a
standard one.

Thanks for that and your time in writing this email. Sorry guys for shooting
such an email But kudos to the great develoepers and app developers who know
the pulse of the framework.

Cheers
Niv

On Thu, Jul 22, 2010 at 11:59 PM, Brian Topping topp...@codehaus.orgwrote:

 I think it primarily comes from having a client that will push you to do
 things with it that you didn't think you could do before.

 Otherwise, you have to push yourself, and that takes a longer because
 people naturally avoid things that they aren't familiar with.

 Note there are different types of Wicket developers.  If you want to work
 on the framework itself, it's a superset of the skills to be a great app
 developer using Wicket.  I personally have no shame in being a great Wicket
 developer who is very happy with what's there already.  But if you want to
 be a contributor to the framework, you're obviously going to have to have a
 vision for what you need and be able to package it in a way that others will
 find pleasing, and do so with a coding style that doesn't annoy the rest of
 the team members.  From my experience with other OSS projects, that's
 something that's better handled slowly and over time.  If someone was
 wondering what it takes to be a top framework developer, they probably don't
 have it yet, so I would focus first on creating great apps first, and back
 to getting some work where you can practice and be pushed to do things you
 haven't done before.

 $0.02, YMMV, etc.

 On Jul 22, 2010, at 11:33 AM, Nivedan Nadaraj wrote:

  Hi Guys
 
  This is off topic but how does one become a top developer for wicket?
 What
  do you think brings forth that talent and creativity?
  Cheers
  Niv


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




Re: How to be a Top Wicket Developer

2010-07-22 Thread Nivedan Nadaraj
Cheers mate..but i lost u in the end of that line...

On Thu, Jul 22, 2010 at 11:46 PM, Martin Makundi 
martin.maku...@koodaripalvelut.com wrote:

 Fix a few core bugs and pimp 1.5 ;]

 **
 Martin

 2010/7/22 Nivedan Nadaraj shravann...@gmail.com:
  Hi Guys
 
  This is off topic but how does one become a top developer for wicket?
 What
  do you think brings forth that talent and creativity?
  Cheers
  Niv
 

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




Re: How to be a Top Wicket Developer

2010-07-22 Thread Nivedan Nadaraj
I apologise for starting a thread like this, there was a response that was I
felt offending...looks like there some dont appreciate the thrill of true
knoweldge. I request moderator to remove anything that offends.
My apologies..
Cheers


On Fri, Jul 23, 2010 at 12:12 AM, Nivedan Nadaraj shravann...@gmail.comwrote:

 Cheers mate..but i lost u in the end of that line...


 On Thu, Jul 22, 2010 at 11:46 PM, Martin Makundi 
 martin.maku...@koodaripalvelut.com wrote:

 Fix a few core bugs and pimp 1.5 ;]

 **
 Martin

 2010/7/22 Nivedan Nadaraj shravann...@gmail.com:
  Hi Guys
 
  This is off topic but how does one become a top developer for wicket?
 What
  do you think brings forth that talent and creativity?
  Cheers
  Niv
 

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





Re: Size of ListView

2010-07-22 Thread Igor Vaynberg
what about onDetach() ?

-igor

On Thu, Jul 22, 2010 at 6:17 AM, Danny van Bruggen tsuih...@gmail.com wrote:
 No, we can't change the component tree in onAfterRender - Wicket
 complains that it cannot increase the page version after rendering.

 On 7/21/10, Vincent Lussenburg vincent.lussenb...@gmail.com wrote:
 I remember trying that, but getting slapped by wicket for trying to change
 the component tree after rendering.. Or am I missing something?

 We'll doublecheck it tomorrow.

 Groet,
 Vincent

 On Jul 21, 2010, at 18:37, Igor Vaynberg igor.vaynb...@gmail.com wrote:

 if the data is strictly read-only and does not contain any links you
 can try removing the list items in afterrender()

 -igor

 On Wed, Jul 21, 2010 at 7:50 AM, Danny van Bruggen tsuih...@gmail.com
 wrote:
 Hello all,

 We're developing a non-Ajax application that displays a bunch of big
 tables - about five columns, 300 rows. Since session size was
 increasing a lot, we looked into the cause of it, and (after making
 everything detachable and switching to PropertyListModel) found out
 that the ListItems of each ListView still accounted for about 100k.

 Since all the data in the tables is read only, we're wondering if we
 can skip serializing the ListItems. Is this possible?

 Is there another approach?

 Danny van Bruggen

 -
 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



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



Re: How to be a Top Wicket Developer

2010-07-22 Thread Martin Makundi
I thought Pimp word is mainstream. I apologise for that, I am not a
native english speaker ;]

**
Martin

2010/7/22 Nivedan Nadaraj shravann...@gmail.com:
 I apologise for starting a thread like this, there was a response that was I
 felt offending...looks like there some dont appreciate the thrill of true
 knoweldge. I request moderator to remove anything that offends.
 My apologies..
 Cheers


 On Fri, Jul 23, 2010 at 12:12 AM, Nivedan Nadaraj 
 shravann...@gmail.comwrote:

 Cheers mate..but i lost u in the end of that line...


 On Thu, Jul 22, 2010 at 11:46 PM, Martin Makundi 
 martin.maku...@koodaripalvelut.com wrote:

 Fix a few core bugs and pimp 1.5 ;]

 **
 Martin

 2010/7/22 Nivedan Nadaraj shravann...@gmail.com:
  Hi Guys
 
  This is off topic but how does one become a top developer for wicket?
 What
  do you think brings forth that talent and creativity?
  Cheers
  Niv
 

 -
 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



selecting more than one entry from AutoCompleteTextField dropdown

2010-07-22 Thread Antonio Mauriello
Hi All,

I have an AutoCompleteTextField element that using the
AjaxFormComponentUpdatingBehavior( onchange ) allows me to pass the
selection made from the dropdown to a WebMarkupContainer.

Now the issue I have is that I need to pass more than an entry to that
WebMarkupContainer, but when I click on the first item of the autocomplete
list (or I type Enter) the dropdown disappers (which is the default
behaviour..).

Is there a way to hold the dropdown visible even if I've clicked on one of
the items?

In the wicket-autocomplete.js I saw that after the KEY_ENTER event
hideAutoComplete() is called. Is there a way to override that behaviour?


Thanks,
Antonio


Re: How to be a Top Wicket Developer

2010-07-22 Thread Martin Makundi
Surprisingly there are quite some translations of the word... this is
more of what I meant:
http://mindprod.com/ggloss/pimp.html

pimp
a verb meaning to decorate or to make something old look new.
Pimps dress in a flashy way to attract attention, hence the etymology.
You might pimp up your car by adding detailing or a glossy paint job.


So pimping wicket 1.5 would mean making it  'cooler'.

Also pimped out word is used: http://dictionary.reference.com/browse/pimped-out


So please take no offense ;]

**
Martin

2010/7/22 Martin Makundi martin.maku...@koodaripalvelut.com:
 I thought Pimp word is mainstream. I apologise for that, I am not a
 native english speaker ;]

 **
 Martin

 2010/7/22 Nivedan Nadaraj shravann...@gmail.com:
 I apologise for starting a thread like this, there was a response that was I
 felt offending...looks like there some dont appreciate the thrill of true
 knoweldge. I request moderator to remove anything that offends.
 My apologies..
 Cheers


 On Fri, Jul 23, 2010 at 12:12 AM, Nivedan Nadaraj 
 shravann...@gmail.comwrote:

 Cheers mate..but i lost u in the end of that line...


 On Thu, Jul 22, 2010 at 11:46 PM, Martin Makundi 
 martin.maku...@koodaripalvelut.com wrote:

 Fix a few core bugs and pimp 1.5 ;]

 **
 Martin

 2010/7/22 Nivedan Nadaraj shravann...@gmail.com:
  Hi Guys
 
  This is off topic but how does one become a top developer for wicket?
 What
  do you think brings forth that talent and creativity?
  Cheers
  Niv
 

 -
 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: show modal window on cometd event using IChannelTarget

2010-07-22 Thread fachhoch

please help me

 


private final class AuditProgramResetTaskListener implements
IChannelListener {
public void onEvent(final String channel, final MapString, 
String datas,
final IChannelTarget target) {
Long  wfEntityId=new 
Long(datas.get(Parameters.PARAM_WF_ENTITY_ID));
if(wfEntityId.equals(wfEntityId)){
CustomModalWindow 
modalWindow=(CustomModalWindow)get(programResetAlert);
modalWindow.show(target);// this line wont 
compile  it needs
AjaxRequestTarget , but I have IchannelTarget

}
}
}


Please tell me how can I convert IChannelTarget to AjaxRequestTarget ?
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/show-modal-window-on-cometd-event-using-IChannelTarget-tp2296068p2299004.html
Sent from the Wicket - User 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



TextFieldInteger

2010-07-22 Thread Douglas Ferguson
Has anybody succesfully used TextFieldInteger?

I get an runtime exception trying to cast String to Integer.

If supply (Integer.class) to the constructor then it is trying to case Long
to Integer.

D/


OutOfMemoryError PermGen Space...

2010-07-22 Thread James Carman
Guys, our production server is running into an error from time to
time.  I get the below stack trace after the site has been running for
a while.  It's not running in development mode.  It's running in
deployment mode.  Any thoughts?  What's with this
generateSerializationConstructor() stuff?


sun.misc.Unsafe.defineClass(Native Method)
sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)

sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
java.security.AccessController.doPrivileged(Native Method)

sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)

sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)

sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)

java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1327)
java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52)
java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
java.security.AccessController.doPrivileged(Native Method)
java.io.ObjectStreamClass.init(ObjectStreamClass.java:413)
java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)

java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
org.apache.wicket.Component.writeObject(Component.java:4438)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)

java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)

java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)

java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

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



Re: TextFieldInteger

2010-07-22 Thread T Ames
I think you have to use the setType(Integer.class) method on the TextField
object.

setType

public final FormComponent
file:///C:/Downloads/Java/wicket/apache-wicket-1.4.1/apidocs/org/apache/wicket/markup/html/form/FormComponent.htmlT
file:///C:/Downloads/Java/wicket/apache-wicket-1.4.1/apidocs/org/apache/wicket/markup/html/form/FormComponent.html
*setType*(java.lang.Class? type)

Sets the type that will be used when updating the model for this component.
If no type is specified String type is assumed.

 *Parameters:*type - *Returns:*this for chaining

On Thu, Jul 22, 2010 at 1:50 PM, Douglas Ferguson 
doug...@douglasferguson.us wrote:

 Has anybody succesfully used TextFieldInteger?

 I get an runtime exception trying to cast String to Integer.

 If supply (Integer.class) to the constructor then it is trying to case Long
 to Integer.

 D/



Re: OutOfMemoryError PermGen Space...

2010-07-22 Thread James Carman
I'm running Wicket 1.4.9 and Sun's JDK 1.6.0_20 on a RHEL4 64-bit machine.


On Thu, Jul 22, 2010 at 2:30 PM, James Carman
ja...@carmanconsulting.com wrote:
 Guys, our production server is running into an error from time to
 time.  I get the below stack trace after the site has been running for
 a while.  It's not running in development mode.  It's running in
 deployment mode.  Any thoughts?  What's with this
 generateSerializationConstructor() stuff?


 sun.misc.Unsafe.defineClass(Native Method)
        sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
        
 sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
        java.security.AccessController.doPrivileged(Native Method)
        
 sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
        
 sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)
        
 sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)
        
 java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1327)
        java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52)
        java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
        java.security.AccessController.doPrivileged(Native Method)
        java.io.ObjectStreamClass.init(ObjectStreamClass.java:413)
        java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
        org.apache.wicket.Component.writeObject(Component.java:4438)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)


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



Re: OutOfMemoryError PermGen Space...

2010-07-22 Thread Martin Makundi
Where is the outofmemoryerror ?

**
Martin

2010/7/22 James Carman ja...@carmanconsulting.com:
 I'm running Wicket 1.4.9 and Sun's JDK 1.6.0_20 on a RHEL4 64-bit machine.


 On Thu, Jul 22, 2010 at 2:30 PM, James Carman
 ja...@carmanconsulting.com wrote:
 Guys, our production server is running into an error from time to
 time.  I get the below stack trace after the site has been running for
 a while.  It's not running in development mode.  It's running in
 deployment mode.  Any thoughts?  What's with this
 generateSerializationConstructor() stuff?


 sun.misc.Unsafe.defineClass(Native Method)
        sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
        
 sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
        java.security.AccessController.doPrivileged(Native Method)
        
 sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
        
 sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)
        
 sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)
        
 java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1327)
        java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52)
        java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
        java.security.AccessController.doPrivileged(Native Method)
        java.io.ObjectStreamClass.init(ObjectStreamClass.java:413)
        java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
        org.apache.wicket.Component.writeObject(Component.java:4438)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)


 -
 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: OutOfMemoryError PermGen Space...

2010-07-22 Thread James Carman
Oops!  I must not have copied that line.  All it said was PermGen space

On Thu, Jul 22, 2010 at 3:25 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
 Where is the outofmemoryerror ?

 **
 Martin

 2010/7/22 James Carman ja...@carmanconsulting.com:
 I'm running Wicket 1.4.9 and Sun's JDK 1.6.0_20 on a RHEL4 64-bit machine.


 On Thu, Jul 22, 2010 at 2:30 PM, James Carman
 ja...@carmanconsulting.com wrote:
 Guys, our production server is running into an error from time to
 time.  I get the below stack trace after the site has been running for
 a while.  It's not running in development mode.  It's running in
 deployment mode.  Any thoughts?  What's with this
 generateSerializationConstructor() stuff?


 sun.misc.Unsafe.defineClass(Native Method)
        sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
        
 sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
        java.security.AccessController.doPrivileged(Native Method)
        
 sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
        
 sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)
        
 sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)
        
 java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1327)
        java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52)
        java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
        java.security.AccessController.doPrivileged(Native Method)
        java.io.ObjectStreamClass.init(ObjectStreamClass.java:413)
        java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
        org.apache.wicket.Component.writeObject(Component.java:4438)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)


 -
 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: OutOfMemoryError PermGen Space...

2010-07-22 Thread Martin Makundi
You did try to change your permgen setting?

http://rimuhosting.com/knowledgebase/linux/java/-Xmx-settings

**
Martin

2010/7/22 James Carman ja...@carmanconsulting.com:
 Oops!  I must not have copied that line.  All it said was PermGen space

 On Thu, Jul 22, 2010 at 3:25 PM, Martin Makundi
 martin.maku...@koodaripalvelut.com wrote:
 Where is the outofmemoryerror ?

 **
 Martin

 2010/7/22 James Carman ja...@carmanconsulting.com:
 I'm running Wicket 1.4.9 and Sun's JDK 1.6.0_20 on a RHEL4 64-bit machine.


 On Thu, Jul 22, 2010 at 2:30 PM, James Carman
 ja...@carmanconsulting.com wrote:
 Guys, our production server is running into an error from time to
 time.  I get the below stack trace after the site has been running for
 a while.  It's not running in development mode.  It's running in
 deployment mode.  Any thoughts?  What's with this
 generateSerializationConstructor() stuff?


 sun.misc.Unsafe.defineClass(Native Method)
        sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
        
 sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
        java.security.AccessController.doPrivileged(Native Method)
        
 sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
        
 sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)
        
 sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)
        
 java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1327)
        java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52)
        java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
        java.security.AccessController.doPrivileged(Native Method)
        java.io.ObjectStreamClass.init(ObjectStreamClass.java:413)
        java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
        
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
        org.apache.wicket.Component.writeObject(Component.java:4438)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
        
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)


 -
 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: OutOfMemoryError PermGen Space...

2010-07-22 Thread James Carman
Of course.  It's set at 1024m!  I bumped it from 256 to 512 to 1024
now.  I'm still seeing the error.

On Thu, Jul 22, 2010 at 3:31 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
 You did try to change your permgen setting?

 http://rimuhosting.com/knowledgebase/linux/java/-Xmx-settings

 **
 Martin

 2010/7/22 James Carman ja...@carmanconsulting.com:
 Oops!  I must not have copied that line.  All it said was PermGen space

 On Thu, Jul 22, 2010 at 3:25 PM, Martin Makundi
 martin.maku...@koodaripalvelut.com wrote:
 Where is the outofmemoryerror ?

 **
 Martin

 2010/7/22 James Carman ja...@carmanconsulting.com:
 I'm running Wicket 1.4.9 and Sun's JDK 1.6.0_20 on a RHEL4 64-bit machine.


 On Thu, Jul 22, 2010 at 2:30 PM, James Carman
 ja...@carmanconsulting.com wrote:
 Guys, our production server is running into an error from time to
 time.  I get the below stack trace after the site has been running for
 a while.  It's not running in development mode.  It's running in
 deployment mode.  Any thoughts?  What's with this
 generateSerializationConstructor() stuff?


 sun.misc.Unsafe.defineClass(Native Method)
        sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
        
 sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
        java.security.AccessController.doPrivileged(Native Method)
        
 sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
        
 sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)
        
 sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)
        
 java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1327)
        java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52)
        java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
        java.security.AccessController.doPrivileged(Native Method)
        java.io.ObjectStreamClass.init(ObjectStreamClass.java:413)
        java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
        
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
        org.apache.wicket.Component.writeObject(Component.java:4438)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
        
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)


 -
 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



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



Re: OutOfMemoryError PermGen Space...

2010-07-22 Thread david_

http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html

http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.htmlthese
are my settings
set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m -XX:PermSize=256m
-XX:MaxPermSize=256m

2010/7/22 James Carman [via Apache Wicket] 
ml-node+2299232-642663496-232...@n4.nabble.comml-node%2b2299232-642663496-232...@n4.nabble.com


 Of course.  It's set at 1024m!  I bumped it from 256 to 512 to 1024
 now.  I'm still seeing the error.

 On Thu, Jul 22, 2010 at 3:31 PM, Martin Makundi
 [hidden email] http://user/SendEmail.jtp?type=nodenode=2299232i=0
 wrote:

  You did try to change your permgen setting?
 
  http://rimuhosting.com/knowledgebase/linux/java/-Xmx-settings
 
  **
  Martin
 
  2010/7/22 James Carman [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=1:

  Oops!  I must not have copied that line.  All it said was PermGen
 space
 
  On Thu, Jul 22, 2010 at 3:25 PM, Martin Makundi
  [hidden email] http://user/SendEmail.jtp?type=nodenode=2299232i=2
 wrote:
  Where is the outofmemoryerror ?
 
  **
  Martin
 
  2010/7/22 James Carman [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=3:

  I'm running Wicket 1.4.9 and Sun's JDK 1.6.0_20 on a RHEL4 64-bit
 machine.
 
 
  On Thu, Jul 22, 2010 at 2:30 PM, James Carman
  [hidden email]http://user/SendEmail.jtp?type=nodenode=2299232i=4
 wrote:
  Guys, our production server is running into an error from time to
  time.  I get the below stack trace after the site has been running
 for
  a while.  It's not running in development mode.  It's running in
  deployment mode.  Any thoughts?  What's with this
  generateSerializationConstructor() stuff?
 
 
  sun.misc.Unsafe.defineClass(Native Method)
 sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
 
  sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)

 java.security.AccessController.doPrivileged(Native Method)
 
  
 sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)

 
  
 sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)

 
  
 sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)

 
  
 java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1327)

 
  java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52)
 java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
 java.security.AccessController.doPrivileged(Native Method)
 java.io.ObjectStreamClass.init(ObjectStreamClass.java:413)
 java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
 
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
 
  java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

 
  java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
 org.apache.wicket.Component.writeObject(Component.java:4438)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

 
  
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

 java.lang.reflect.Method.invoke(Method.java:597)
 
  java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
 
  java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

 
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 
  java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
 
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
 
  java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

 
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
 
  java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

 
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 
  java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 
 
  -
  To unsubscribe, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=5
  For additional commands, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=6
 
 
 
  -
  To unsubscribe, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=7
  For additional commands, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=8
 
 
 
  -
  To unsubscribe, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=9
  For additional commands, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=10
 
 
 
  

Session time out for Ajax requests

2010-07-22 Thread Gurpreet.Singh
Hi All,

Any one tried this :

In your served filter you will have to check for Wicket-Ajax header
and if it is present return a properly formatted Ajax-response that
contains JavaScript to redirect to your login page.


I am not sure what exactly I need to return. I tried with

ajax-reponsescript 
language=javascriptlocation.href=mypage/script/ajax-response

And
ajax-response![CDATA[script 
langauge='javascript'location.href=mypage/script]]/ajax-response



But nothing seem to be working. Any idea what's wrong here

Thanks in Advance.






Re: Animated page switch possible?

2010-07-22 Thread Anh
I personally don't have an example, but yes I think this would have to
involve Ajax in some way.

I have done similar in an app, but only for switching out the main
panel.  E.g. I created a setResponsePanel (...) method in my page
hierarchy.

Perhaps this could be used to mimic a full page transition by
replacing all body content?


On Thu, Jul 22, 2010 at 6:56 AM, Martin Grigorov mgrigo...@apache.org wrote:
 Anyone knows a URL where we can see such reload in action ?
 I can imagine it with Ajax reload but not with normal/full page reload.

 On Thu, Jul 22, 2010 at 12:47 AM, 7zark7 7za...@gmail.com wrote:

 Folks I think there is a valid usage here for mobile device apps which use
 animations between panels.  I've run into this myself.

 Granted a webapp is not native, but some clients do desire a close to
 native experience and this is a nice touch.

 Sent from my iPod

 On Jul 21, 2010, at 12:48 PM, James Carman ja...@carmanconsulting.com
 wrote:

  If not, hit them with this...
 
  These are not the page switching animations you're looking for.  Move
 along.
 
  On Wed, Jul 21, 2010 at 3:38 PM, Per Newgro per.new...@gmx.ch wrote:
  Ok thats a point.
 
  Thanks
  Per
 
  -
  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: OutOfMemoryError PermGen Space...

2010-07-22 Thread James Carman
I'm running Tomcat, so it's:

$ env | grep CATALINA
CATALINA_OPTS= -Xmx4096m -Xms2048m -XX:MaxPermSize=1024m
-XX:+UseParallelGC -server



On Thu, Jul 22, 2010 at 3:47 PM, david_ meulemans.da...@gmail.com wrote:

 http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html

 http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.htmlthese
 are my settings
 set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m -XX:PermSize=256m
 -XX:MaxPermSize=256m

 2010/7/22 James Carman [via Apache Wicket] 
 ml-node+2299232-642663496-232...@n4.nabble.comml-node%2b2299232-642663496-232...@n4.nabble.com


 Of course.  It's set at 1024m!  I bumped it from 256 to 512 to 1024
 now.  I'm still seeing the error.

 On Thu, Jul 22, 2010 at 3:31 PM, Martin Makundi
 [hidden email] http://user/SendEmail.jtp?type=nodenode=2299232i=0
 wrote:

  You did try to change your permgen setting?
 
  http://rimuhosting.com/knowledgebase/linux/java/-Xmx-settings
 
  **
  Martin
 
  2010/7/22 James Carman [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=1:

  Oops!  I must not have copied that line.  All it said was PermGen
 space
 
  On Thu, Jul 22, 2010 at 3:25 PM, Martin Makundi
  [hidden email] http://user/SendEmail.jtp?type=nodenode=2299232i=2
 wrote:
  Where is the outofmemoryerror ?
 
  **
  Martin
 
  2010/7/22 James Carman [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=3:

  I'm running Wicket 1.4.9 and Sun's JDK 1.6.0_20 on a RHEL4 64-bit
 machine.
 
 
  On Thu, Jul 22, 2010 at 2:30 PM, James Carman
  [hidden email]http://user/SendEmail.jtp?type=nodenode=2299232i=4
 wrote:
  Guys, our production server is running into an error from time to
  time.  I get the below stack trace after the site has been running
 for
  a while.  It's not running in development mode.  It's running in
  deployment mode.  Any thoughts?  What's with this
  generateSerializationConstructor() stuff?
 
 
  sun.misc.Unsafe.defineClass(Native Method)
         sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
 
  sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)

         java.security.AccessController.doPrivileged(Native Method)
 
  sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)

 
  sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)

 
  sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)

 
  java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1327)

 
  java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52)
         java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
         java.security.AccessController.doPrivileged(Native Method)
         java.io.ObjectStreamClass.init(ObjectStreamClass.java:413)
         java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
 
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
 
  java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

 
  java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
         org.apache.wicket.Component.writeObject(Component.java:4438)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

 
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

         java.lang.reflect.Method.invoke(Method.java:597)
 
  java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
 
  java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

 
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 
  java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
 
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
 
  java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)

 
  java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
 
  java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)

 
  java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 
  java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 
 
  -
  To unsubscribe, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=5
  For additional commands, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=6
 
 
 
  -
  To unsubscribe, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=7
  For additional commands, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=2299232i=8
 
 
 
  -
  To unsubscribe, e-mail: 

Re: Animated page switch possible?

2010-07-22 Thread James Carman
You'd almost have to decorate every form submit and every link on the
page.  I don't know if you need AJAX for this, but you'd definitely
need some client-side JS.  The back button would probably cause some
troubles, though.

On Thu, Jul 22, 2010 at 3:49 PM, Anh 7za...@gmail.com wrote:
 I personally don't have an example, but yes I think this would have to
 involve Ajax in some way.

 I have done similar in an app, but only for switching out the main
 panel.  E.g. I created a setResponsePanel (...) method in my page
 hierarchy.

 Perhaps this could be used to mimic a full page transition by
 replacing all body content?


 On Thu, Jul 22, 2010 at 6:56 AM, Martin Grigorov mgrigo...@apache.org wrote:
 Anyone knows a URL where we can see such reload in action ?
 I can imagine it with Ajax reload but not with normal/full page reload.

 On Thu, Jul 22, 2010 at 12:47 AM, 7zark7 7za...@gmail.com wrote:

 Folks I think there is a valid usage here for mobile device apps which use
 animations between panels.  I've run into this myself.

 Granted a webapp is not native, but some clients do desire a close to
 native experience and this is a nice touch.

 Sent from my iPod

 On Jul 21, 2010, at 12:48 PM, James Carman ja...@carmanconsulting.com
 wrote:

  If not, hit them with this...
 
  These are not the page switching animations you're looking for.  Move
 along.
 
  On Wed, Jul 21, 2010 at 3:38 PM, Per Newgro per.new...@gmx.ch wrote:
  Ok thats a point.
 
  Thanks
  Per
 
  -
  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



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



Re: OutOfMemoryError PermGen Space...

2010-07-22 Thread Johan Compagner
what kind of classes are serialized constantly?
are those proxies or other generated onces?

Somehow it has something to do with getting the default constructor of
the first none serializable class
And i think your first class in the hierarchy that is found that
doenst implement Serializable doesnt also have a default constructor
Then when that state is found it will generate a constructor method or
something (so some kind of quick asm wrapper class with that
constructor)

So look at the classes that you serialize, find the first one that is
none serializeble and give it a default constructor.
(it could be that that default constructor needs to be private)

johan




On Thu, Jul 22, 2010 at 20:30, James Carman ja...@carmanconsulting.com wrote:
 Guys, our production server is running into an error from time to
 time.  I get the below stack trace after the site has been running for
 a while.  It's not running in development mode.  It's running in
 deployment mode.  Any thoughts?  What's with this
 generateSerializationConstructor() stuff?


 sun.misc.Unsafe.defineClass(Native Method)
        sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
        
 sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
        java.security.AccessController.doPrivileged(Native Method)
        
 sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
        
 sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)
        
 sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)
        
 java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1327)
        java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52)
        java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
        java.security.AccessController.doPrivileged(Native Method)
        java.io.ObjectStreamClass.init(ObjectStreamClass.java:413)
        java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
        org.apache.wicket.Component.writeObject(Component.java:4438)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
        
 java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
        
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

 -
 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: OutOfMemoryError PermGen Space...

2010-07-22 Thread James Carman
On Thu, Jul 22, 2010 at 4:11 PM, Johan Compagner jcompag...@gmail.com wrote:
 what kind of classes are serialized constantly?
 are those proxies or other generated onces?


All sorts of stuff I guess.  This doesn't necessarily happen on one
particular page.  It just starts happening after a while and the
application just starts throwing these stack traces.

 Somehow it has something to do with getting the default constructor of
 the first none serializable class
 And i think your first class in the hierarchy that is found that
 doenst implement Serializable doesnt also have a default constructor
 Then when that state is found it will generate a constructor method or
 something (so some kind of quick asm wrapper class with that
 constructor)

 So look at the classes that you serialize, find the first one that is
 none serializeble and give it a default constructor.
 (it could be that that default constructor needs to be private)


Man, where to begin.  I'm going to look at my IDE to see if it has a
code inspection for this! :)

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



Re: Animated page switch possible?

2010-07-22 Thread Anh
Yes, that's basically what I do with a setResponsePanel(..) call:
you have to call this everywhere in place of setResponsePage for
links, submits, etc.

Not really optimal if you are trying add this to an existing wicket app.

That's why I shared Per's interest in if there was a way to do this
transparently with setResponsePage, etc.

Thanks!

On Thu, Jul 22, 2010 at 12:56 PM, James Carman
ja...@carmanconsulting.com wrote:
 You'd almost have to decorate every form submit and every link on the
 page.  I don't know if you need AJAX for this, but you'd definitely
 need some client-side JS.  The back button would probably cause some
 troubles, though.

 On Thu, Jul 22, 2010 at 3:49 PM, Anh 7za...@gmail.com wrote:
 I personally don't have an example, but yes I think this would have to
 involve Ajax in some way.

 I have done similar in an app, but only for switching out the main
 panel.  E.g. I created a setResponsePanel (...) method in my page
 hierarchy.

 Perhaps this could be used to mimic a full page transition by
 replacing all body content?


 On Thu, Jul 22, 2010 at 6:56 AM, Martin Grigorov mgrigo...@apache.org 
 wrote:
 Anyone knows a URL where we can see such reload in action ?
 I can imagine it with Ajax reload but not with normal/full page reload.

 On Thu, Jul 22, 2010 at 12:47 AM, 7zark7 7za...@gmail.com wrote:

 Folks I think there is a valid usage here for mobile device apps which use
 animations between panels.  I've run into this myself.

 Granted a webapp is not native, but some clients do desire a close to
 native experience and this is a nice touch.

 Sent from my iPod

 On Jul 21, 2010, at 12:48 PM, James Carman ja...@carmanconsulting.com
 wrote:

  If not, hit them with this...
 
  These are not the page switching animations you're looking for.  Move
 along.
 
  On Wed, Jul 21, 2010 at 3:38 PM, Per Newgro per.new...@gmx.ch wrote:
  Ok thats a point.
 
  Thanks
  Per
 
  -
  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



 -
 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



Best way to hide a component

2010-07-22 Thread mgoodson

Hi, this could be a stupid question but I am just wondering what the best way
is to hide a component.
Say I have a button on a form and when it renders sometimes I want it to
show and some times not. 
I could either use 2 fragments, one with the button in it and one that's
empty and switch between the two. Or the other option that I can think of is
to turn the visibility on and off.
Anyone got any reasons for or against with option?
Thanks 
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Best-way-to-hide-a-component-tp2299412p2299412.html
Sent from the Wicket - User 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



what happened to setModel()?...

2010-07-22 Thread Erik Brakkee
HI all,


I have a detachable model that I want to set as the model of a page so that
it is properly detached.
There used to be setModel(). But how should I do this now?

I cannot use the superclass constructor because the detachable model can
only be computed after construction of the page because it depends on an
injected variable.

Also, setDefaultModel() shows me a huge warning in the javadocs. Also,
setModelImpl() cannot be accessed.

What is the correct solution here?

Cheers
  Erik


Re: TextFieldInteger

2010-07-22 Thread Josh Glassman
There is also a constructor that will take a Class type as a parameter.

On Thu, Jul 22, 2010 at 3:11 PM, T Ames tamesw...@gmail.com wrote:

 I think you have to use the setType(Integer.class) method on the TextField
 object.

 setType

 public final FormComponent

 file:///C:/Downloads/Java/wicket/apache-wicket-1.4.1/apidocs/org/apache/wicket/markup/html/form/FormComponent.htmlT

 file:///C:/Downloads/Java/wicket/apache-wicket-1.4.1/apidocs/org/apache/wicket/markup/html/form/FormComponent.html
 *setType*(java.lang.Class? type)

 Sets the type that will be used when updating the model for this component.
 If no type is specified String type is assumed.

  *Parameters:*type - *Returns:*this for chaining

 On Thu, Jul 22, 2010 at 1:50 PM, Douglas Ferguson 
 doug...@douglasferguson.us wrote:

  Has anybody succesfully used TextFieldInteger?
 
  I get an runtime exception trying to cast String to Integer.
 
  If supply (Integer.class) to the constructor then it is trying to case
 Long
  to Integer.
 
  D/
 



Re: TextFieldInteger

2010-07-22 Thread avrahamr

I've encontered the same problem and it took me a while to figure it out
why.

So maybe it's a good idea to make it automatic on the framework,

On all TextFieldE constructors without the type parameter we should call
setType() like this:

setType((Class?) ((ParameterizedType)
getClass().getGenericSuperclass()).getActualTypeArguments()[0]);

Too complicated??



On Fri, Jul 23, 2010 at 1:02 AM, Josh Glassman [via Apache Wicket] 
ml-node+2299461-894925024-293...@n4.nabble.comml-node%2b2299461-894925024-293...@n4.nabble.com
 wrote:

 There is also a constructor that will take a Class type as a parameter.

 On Thu, Jul 22, 2010 at 3:11 PM, T Ames [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=2299461i=0
 wrote:

  I think you have to use the setType(Integer.class) method on the
 TextField
  object.
 
  setType
 
  public final FormComponent
 
 
 file:///C:/Downloads/Java/wicket/apache-wicket-1.4.1/apidocs/org/apache/wicket/markup/html/form/FormComponent.htmlT

 
 
 file:///C:/Downloads/Java/wicket/apache-wicket-1.4.1/apidocs/org/apache/wicket/markup/html/form/FormComponent.html

  *setType*(java.lang.Class? type)
 
  Sets the type that will be used when updating the model for this
 component.
  If no type is specified String type is assumed.
 
   *Parameters:*type - *Returns:*this for chaining
 
  On Thu, Jul 22, 2010 at 1:50 PM, Douglas Ferguson 
  [hidden email] http://user/SendEmail.jtp?type=nodenode=2299461i=1
 wrote:
 
   Has anybody succesfully used TextFieldInteger?
  
   I get an runtime exception trying to cast String to Integer.
  
   If supply (Integer.class) to the constructor then it is trying to case
  Long
   to Integer.
  
   D/
  
 


 --
  View message @
 http://apache-wicket.1842946.n4.nabble.com/TextField-Integer-tp2299053p2299461.html
 To start a new topic under Wicket - User, email
 ml-node+1842947-1647783149-293...@n4.nabble.comml-node%2b1842947-1647783149-293...@n4.nabble.com
 To unsubscribe from Wicket - User, click 
 herehttp://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=YXZyYWhhbXJAZ21haWwuY29tfDE4NDI5NDd8LTEwNzY0NzQ1ODc=.





-- 
[]'s
Avraham Rosenzweig
avrah...@gmail.com

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TextField-Integer-tp2299053p2299478.html
Sent from the Wicket - User mailing list archive at Nabble.com.


Re: what happened to setModel()?...

2010-07-22 Thread Igor Vaynberg
setdefaultmodel()

-igor

On Thu, Jul 22, 2010 at 2:58 PM, Erik Brakkee erik.brak...@gmail.com wrote:
 HI all,


 I have a detachable model that I want to set as the model of a page so that
 it is properly detached.
 There used to be setModel(). But how should I do this now?

 I cannot use the superclass constructor because the detachable model can
 only be computed after construction of the page because it depends on an
 injected variable.

 Also, setDefaultModel() shows me a huge warning in the javadocs. Also,
 setModelImpl() cannot be accessed.

 What is the correct solution here?

 Cheers
  Erik


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



RE: Session time out for Ajax requests

2010-07-22 Thread Gurpreet.Singh
Somehow below code worked,  I thought it be helpful for someone else to.

if(httpRequest.getSession(false) == null){
Enumeration headerNames = httpRequest.getHeaderNames();
while(headerNames.hasMoreElements()) {
  String headerName = (String)headerNames.nextElement();
  if(headerName.equalsIgnoreCase(Wicket-Ajax)){
  PrintWriter out = httpResponse.getWriter();
  out.println(?xml version='1.0' 
encoding='UTF-8'?ajax-responseheader-contribution encoding='wicket1' 
![CDATA[head xmlns:wicket='http://wicket.apache.org');
  
out.println(/head]]/header-contributionevaluate![CDATA[ 
location.href=' +  httpRequest.getContextPath() + 
';]]/evaluate/ajax-response);
 return;
 
  }
   
}
   } 

-Original Message-
From: gurpreet.si...@wellsfargo.com [mailto:gurpreet.si...@wellsfargo.com] 
Sent: Thursday, July 22, 2010 12:49 PM
To: users@wicket.apache.org
Subject: Session time out for Ajax requests

Hi All,

Any one tried this :

In your served filter you will have to check for Wicket-Ajax header
and if it is present return a properly formatted Ajax-response that
contains JavaScript to redirect to your login page.


I am not sure what exactly I need to return. I tried with

ajax-reponsescript 
language=javascriptlocation.href=mypage/script/ajax-response

And
ajax-response![CDATA[script 
langauge='javascript'location.href=mypage/script]]/ajax-response



But nothing seem to be working. Any idea what's wrong here

Thanks in Advance.





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



Re: Line breaks and label

2010-07-22 Thread Nii Amon Dsane

Hi Witold,

I noticed something. When I was using  tags to embed strings in to the
markup, the CSS wasn't applied but when I tried it with a div the styles
were applied. Is this expected behaviour?

nii amon
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Line-breaks-and-label-tp2298095p2299726.html
Sent from the Wicket - User 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