Re: How to protect against Session Fixation attacks?

2008-08-08 Thread RUMikeP

My appologies for the run-around.  I was not able to see the updates on the
Jira log yesterday from the office, so only managed to read the updates when
I got home.  

I have implemented the latest suggestion (included below for other
interested readers, although I suggest they read the Jira log as well),
which works perfectly:

/**
 * Replaces the underlying HTTP Session, invalidating the current one and
 * creating a new one.
 * p
 * Call upon login to protect against session fixation.
 *
 * @see http://www.owasp.org/index.php/Session_Fixation
 */
public void invalidateHttpSession() {
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getSession().invalidate();
bind();
}

Many thanks once again for the great work!!


Johan Compagner wrote:
 
 please make a jira issue for this
 
 On Thu, Aug 7, 2008 at 2:52 PM, RUMikeP [EMAIL PROTECTED] wrote:
 

 Many thanks for the quick response.

 The pre-login session files in the temp filestore directory are not
 removed,
 even after the session timeout.  All the new sessions are removed as they
 expire, but the ones that are invalidated using the patch below remain
 indefinitely.






 no what you see is that by default the http session store has a new
 window
 browser detection (new pagemap)
 It needs that because of the way pages are stored and rollbacked.

 The DiskPageStore doesnt need that it can get all the pages back that it
 wants
 so for that the new window detection is by default not enabled.

 Old sessions are not cleand up with the diskpagestore?
 What is not cleaned up?


 johan


 --
 View this message in context:
 http://www.nabble.com/How-to-protect-against-Session-Fixation-attacks--tp18734278p18869780.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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


 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-protect-against-Session-Fixation-attacks--tp18734278p18886157.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: AjaxButton does not work

2008-08-08 Thread Bertrand DATAS
Hello
thanks for your answers but, I add the OnError method and nothing more
happens, with firebug have seen that there is no request at all when i click
on this button, just like if there was no event attach on it,  I don't
understand why ??

Bertrand

2008/8/8 Al Maw [EMAIL PROTECTED]

 This may be a client tag interpretation problem? Try using gt;gt;
 instead of . I don't think  inside HTML attributes is valid HTML.

 Use firebug and/or the wicket ajax debug window (link bottom right on
 your page) to see what's going on.

 Alastair

 2008/8/5 Daniel Freitas [EMAIL PROTECTED]:
  Do you have any form validation going on? If yes implement the onError
  method on the ajax button. Example:
 
  form.add(new AjaxButton(order) {
 @Override
 protected void onError(AjaxRequestTarget target, Form form) {
 //Ops we got some errors, show them in a feedback panel
 target.addComponent(feedbackPanel);
 }
 
 @Override
 protected void onSubmit(AjaxRequestTarget target, Form form) {
 //Do whatever you need here :)
 setResponsePage(Index.class);
 }
 }.setOutputMarkupId(true));
 
 
  Hope that helps.
  2008/8/5 Bertrand DATAS [EMAIL PROTECTED]
 
  Hello All,
 
  I encounter a problem while I am using an AjaxButton.
 
  In my form page i create an Ajaxbutton that I attach to a
 markupContainer
  and in my HTML I add the folowwing HTML code :
  input type=button value= wicket:id=selection /
 
  The button is set default form processing to false.
 
  The problem is that when i click on this button nothing happens !!
  I have the same problem with ana AjaxSubmitLink.
 
  I use the Wicket framework 1.3.4.
 
 
  Can someone help me to see what is wrong with that button ??
 
  Thanks
 
  Bertrand
 
 

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




Re: AjaxButton does not work

2008-08-08 Thread greeklinux

Hello,

is it possible to see some code? 



BertrandDatas wrote:
 
 Hello
 thanks for your answers but, I add the OnError method and nothing more
 happens, with firebug have seen that there is no request at all when i
 click
 on this button, just like if there was no event attach on it,  I don't
 understand why ??
 
 Bertrand
 
 2008/8/8 Al Maw [EMAIL PROTECTED]
 
 This may be a client tag interpretation problem? Try using gt;gt;
 instead of . I don't think  inside HTML attributes is valid HTML.

 Use firebug and/or the wicket ajax debug window (link bottom right on
 your page) to see what's going on.

 Alastair

 2008/8/5 Daniel Freitas [EMAIL PROTECTED]:
  Do you have any form validation going on? If yes implement the onError
  method on the ajax button. Example:
 
  form.add(new AjaxButton(order) {
 @Override
 protected void onError(AjaxRequestTarget target, Form form)
 {
 //Ops we got some errors, show them in a feedback panel
 target.addComponent(feedbackPanel);
 }
 
 @Override
 protected void onSubmit(AjaxRequestTarget target, Form form)
 {
 //Do whatever you need here :)
 setResponsePage(Index.class);
 }
 }.setOutputMarkupId(true));
 
 
  Hope that helps.
  2008/8/5 Bertrand DATAS [EMAIL PROTECTED]
 
  Hello All,
 
  I encounter a problem while I am using an AjaxButton.
 
  In my form page i create an Ajaxbutton that I attach to a
 markupContainer
  and in my HTML I add the folowwing HTML code :
  input type=button value= wicket:id=selection /
 
  The button is set default form processing to false.
 
  The problem is that when i click on this button nothing happens !!
  I have the same problem with ana AjaxSubmitLink.
 
  I use the Wicket framework 1.3.4.
 
 
  Can someone help me to see what is wrong with that button ??
 
  Thanks
 
  Bertrand
 
 

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


 
 

-- 
View this message in context: 
http://www.nabble.com/AjaxButton-does-not-work-tp18833476p1251.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: 7th August London Wicket Event (6th August!)

2008-08-08 Thread Yiannis Mavroukakis



PS To those who were present on August _6th_ (I don't know what event on the
7th you got us mixed up with Yiannis, but we'll accept the compliments ;-) ,
  


I blame it all on my year round lack of sleep..parenthood!

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



Re: AjaxButton does not work

2008-08-08 Thread Martin Makundi
Why not use gt;gt; instead of ?

**
Martin

2008/8/8 Alastair Maw [EMAIL PROTECTED]:
 OK, so you have firebug installed, which is a great start.
 Look at the generated HTML in your browser.
 Does the link have an onclick attribute?
 Are there any errors in the Javascript console if you turn that on in firebug?
 Can you show us some code?

 Alastair

 2008/8/8 Bertrand DATAS [EMAIL PROTECTED]:
 Hello
 thanks for your answers but, I add the OnError method and nothing more
 happens, with firebug have seen that there is no request at all when i click
 on this button, just like if there was no event attach on it,  I don't
 understand why ??

 Bertrand

 2008/8/8 Al Maw [EMAIL PROTECTED]

 This may be a client tag interpretation problem? Try using gt;gt;
 instead of . I don't think  inside HTML attributes is valid HTML.

 Use firebug and/or the wicket ajax debug window (link bottom right on
 your page) to see what's going on.

 Alastair

 2008/8/5 Daniel Freitas [EMAIL PROTECTED]:
  Do you have any form validation going on? If yes implement the onError
  method on the ajax button. Example:
 
  form.add(new AjaxButton(order) {
 @Override
 protected void onError(AjaxRequestTarget target, Form form) {
 //Ops we got some errors, show them in a feedback panel
 target.addComponent(feedbackPanel);
 }
 
 @Override
 protected void onSubmit(AjaxRequestTarget target, Form form) {
 //Do whatever you need here :)
 setResponsePage(Index.class);
 }
 }.setOutputMarkupId(true));
 
 
  Hope that helps.
  2008/8/5 Bertrand DATAS [EMAIL PROTECTED]
 
  Hello All,
 
  I encounter a problem while I am using an AjaxButton.
 
  In my form page i create an Ajaxbutton that I attach to a
 markupContainer
  and in my HTML I add the folowwing HTML code :
  input type=button value= wicket:id=selection /
 
  The button is set default form processing to false.
 
  The problem is that when i click on this button nothing happens !!
  I have the same problem with ana AjaxSubmitLink.
 
  I use the Wicket framework 1.3.4.
 
 
  Can someone help me to see what is wrong with that button ??
 
  Thanks
 
  Bertrand
 
 

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




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



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



Re: AjaxButton does not work

2008-08-08 Thread Alastair Maw
OK, so you have firebug installed, which is a great start.
Look at the generated HTML in your browser.
Does the link have an onclick attribute?
Are there any errors in the Javascript console if you turn that on in firebug?
Can you show us some code?

Alastair

2008/8/8 Bertrand DATAS [EMAIL PROTECTED]:
 Hello
 thanks for your answers but, I add the OnError method and nothing more
 happens, with firebug have seen that there is no request at all when i click
 on this button, just like if there was no event attach on it,  I don't
 understand why ??

 Bertrand

 2008/8/8 Al Maw [EMAIL PROTECTED]

 This may be a client tag interpretation problem? Try using gt;gt;
 instead of . I don't think  inside HTML attributes is valid HTML.

 Use firebug and/or the wicket ajax debug window (link bottom right on
 your page) to see what's going on.

 Alastair

 2008/8/5 Daniel Freitas [EMAIL PROTECTED]:
  Do you have any form validation going on? If yes implement the onError
  method on the ajax button. Example:
 
  form.add(new AjaxButton(order) {
 @Override
 protected void onError(AjaxRequestTarget target, Form form) {
 //Ops we got some errors, show them in a feedback panel
 target.addComponent(feedbackPanel);
 }
 
 @Override
 protected void onSubmit(AjaxRequestTarget target, Form form) {
 //Do whatever you need here :)
 setResponsePage(Index.class);
 }
 }.setOutputMarkupId(true));
 
 
  Hope that helps.
  2008/8/5 Bertrand DATAS [EMAIL PROTECTED]
 
  Hello All,
 
  I encounter a problem while I am using an AjaxButton.
 
  In my form page i create an Ajaxbutton that I attach to a
 markupContainer
  and in my HTML I add the folowwing HTML code :
  input type=button value= wicket:id=selection /
 
  The button is set default form processing to false.
 
  The problem is that when i click on this button nothing happens !!
  I have the same problem with ana AjaxSubmitLink.
 
  I use the Wicket framework 1.3.4.
 
 
  Can someone help me to see what is wrong with that button ??
 
  Thanks
 
  Bertrand
 
 

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




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



Re: Wicket + Hibernate without Spring and Databinder

2008-08-08 Thread HITECH79

Hallo Martin,

thanks a lot for your answers Could i see the content of this method
EntityManagerUtils.disposeEntityManagers()

Greetings


 



Martin Makundi wrote:
 
 Hi!
 
 I am using this configuration (actually with Jetty, not Tomcat).
 
 1. I have a persistence.xml with all the necessary setup (if you have
 plain Hibernate, you have hibernate-cfg.xml).
 2. I have a EntityManagerUtil class for managing the connection (you
 could have, e.g., HibernateUtil or something).
 3. I use lazy initialization for the Hibernate, i.e., every time I
 heed the connection I initialize it if it is not yet initialized
 (think: singleton).
 4. I have tweaked the Wicket RequestCycle for closing the possibly
 lazily opened connections; in my XXWebApplication.java:
 
   @Override
   public RequestCycle newRequestCycle(Request request, Response response)
 {
 return new WebRequestCycle(this, (WebRequest)request,
 (WebResponse)response) {
   /**
* @see org.apache.wicket.RequestCycle#onEndRequest()
*/
   @Override
   protected void onEndRequest() {
 try {
   EntityManagerUtils.disposeEntityManagers();
 } catch (Throwable t) {
   Utils.errorLog(this.getClass(), t);
 }
 super.onEndRequest();
   }
 };
   }
 
 **
 Martin
 
 
 
 2008/8/5 HITECH79 [EMAIL PROTECTED]:

 Hallo,

 i need help for a configuration or tutorial or example for a project with
 Wicket+Hibernate+Tomcat. Please no answers with interaction Spring or
 framework Databinder.

 Only Wicket+Hibernate+Tomcat :-)

 Thanks a lot


 Cheers...
 --
 View this message in context:
 http://www.nabble.com/Wicket-%2B-Hibernate-without-Spring-and-Databinder-tp18827595p18827595.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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


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

-- 
View this message in context: 
http://www.nabble.com/Wicket-%2B-Hibernate-without-Spring-and-Databinder-tp18827595p18891644.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Wicket + Hibernate without Spring and Databinder

2008-08-08 Thread Martin Makundi
Hi!

Something like this:

  public static void disposeEntityManagers() {
try {
  // The write-transaction is either rolled back or committed.
  getEntityWriter().close();
} finally {
  entityWriterHandle.remove();
  if (!TransactionWrapper.isOverrideDuringTests()) {
try {
  try {
getEntityReader().clear();
  } finally {
getEntityReader().close();
  }
} finally {
  entityReaderHandle.remove();
}
  }
}
  }

**
Martin

2008/8/8 HITECH79 [EMAIL PROTECTED]:

 Hallo Martin,

 thanks a lot for your answers Could i see the content of this method
 EntityManagerUtils.disposeEntityManagers()

 Greetings






 Martin Makundi wrote:

 Hi!

 I am using this configuration (actually with Jetty, not Tomcat).

 1. I have a persistence.xml with all the necessary setup (if you have
 plain Hibernate, you have hibernate-cfg.xml).
 2. I have a EntityManagerUtil class for managing the connection (you
 could have, e.g., HibernateUtil or something).
 3. I use lazy initialization for the Hibernate, i.e., every time I
 heed the connection I initialize it if it is not yet initialized
 (think: singleton).
 4. I have tweaked the Wicket RequestCycle for closing the possibly
 lazily opened connections; in my XXWebApplication.java:

   @Override
   public RequestCycle newRequestCycle(Request request, Response response)
 {
 return new WebRequestCycle(this, (WebRequest)request,
 (WebResponse)response) {
   /**
* @see org.apache.wicket.RequestCycle#onEndRequest()
*/
   @Override
   protected void onEndRequest() {
 try {
   EntityManagerUtils.disposeEntityManagers();
 } catch (Throwable t) {
   Utils.errorLog(this.getClass(), t);
 }
 super.onEndRequest();
   }
 };
   }

 **
 Martin



 2008/8/5 HITECH79 [EMAIL PROTECTED]:

 Hallo,

 i need help for a configuration or tutorial or example for a project with
 Wicket+Hibernate+Tomcat. Please no answers with interaction Spring or
 framework Databinder.

 Only Wicket+Hibernate+Tomcat :-)

 Thanks a lot


 Cheers...
 --
 View this message in context:
 http://www.nabble.com/Wicket-%2B-Hibernate-without-Spring-and-Databinder-tp18827595p18827595.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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



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




 --
 View this message in context: 
 http://www.nabble.com/Wicket-%2B-Hibernate-without-Spring-and-Databinder-tp18827595p18891644.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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



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



Extending BrowserInfoForm

2008-08-08 Thread Federico Fanton
Hi everyone!
I'd like to extend BrowserInfoForm to detect if the browser supports SVGs 
(javascript method here 
http://thomas.tanrei.ca/modern-script-based-svg-detection/), but it looks like 
it cannot be easily extended.. Should I try to write a patch for Wicket 
instead? Would it be useful? Am I going the wrong way maybe? X-)
Many thanks for your opinions!


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



Re: Extending BrowserInfoForm

2008-08-08 Thread Igor Vaynberg
patch is welcome

-igor

On Fri, Aug 8, 2008 at 6:49 AM, Federico Fanton [EMAIL PROTECTED] wrote:
 Hi everyone!
 I'd like to extend BrowserInfoForm to detect if the browser supports SVGs 
 (javascript method here 
 http://thomas.tanrei.ca/modern-script-based-svg-detection/), but it looks 
 like it cannot be easily extended.. Should I try to write a patch for Wicket 
 instead? Would it be useful? Am I going the wrong way maybe? X-)
 Many thanks for your opinions!


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



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



Re: Extending BrowserInfoForm

2008-08-08 Thread igor . vaynberg
should be fine

-Igor


On 8/8/08, Federico Fanton [EMAIL PROTECTED] wrote:
 On Fri, 8 Aug 2008 06:54:50 -0700
 Igor Vaynberg [EMAIL PROTECTED] wrote:

 patch is welcome

 Ok :) Would it be a problem if I try to write it against 1.3.4? We're not
 using 1.4 yet..


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



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



Strange AjaxFormComponentUpdatingBehavior with Internet Explorer

2008-08-08 Thread Kai Mütz
Hi,

I have 2 form components in a form. A checkbox and a dropdownchoice. The
dropdownchoice should depend on the checkbox, as it is enabled if the
checkbox is checked and disabled if the checkbox is not checked.

Thus I have added a AjaxFormComponentUpdatingBehavior:

final CheckBox required = new CheckBox(required, new
PropertyModel(project, required));
add(required);
final DropDownChoice officer = new DropDownChoice(officer, new
PropertyModel(project, officer), users, true);
add(officer);
officer.setOutputMarkupId(true);
officer.setEnabled(project.isRequired());
required.add(new AjaxFormComponentUpdatingBehavior(onchange) {
protected void onUpdate(final AjaxRequestTarget target) {
officer.setEnabled((Boolean) required.getModelObject());
if (!officer.isEnabled()) {
officer.setModelObject(null);
}
target.addComponent(officer);
}
});


This works fine withe Firefox. With IE7 (and IE6) the dropdownchoice is not
updated until clicking on the it. Example:

- Checkbox is unchecked and dropdownchoice is disabled by default
- Check the checkbox - nothing happens, dropdownchoice is still disabled
(in IE)
- Clicking on dropdownchoice - dropdownchoice is enabled
- Uncheck the checkbox - nothing happens, dropdownchoice is still enabled
(in IE)
- Clicking on dropdownchoice - dropdownchoice is disabled


Can anybody help?

Cheers, Kai


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



Re: Strange AjaxFormComponentUpdatingBehavior with Internet Explorer

2008-08-08 Thread Kai Mütz
BTW, whilw checking the checkbox the AJAX Debug window says:

Info: Set focus on required


That's all.

2008/8/8 Kai Mütz [EMAIL PROTECTED]

 Hi,

 I have 2 form components in a form. A checkbox and a dropdownchoice. The
 dropdownchoice should depend on the checkbox, as it is enabled if the
 checkbox is checked and disabled if the checkbox is not checked.

 Thus I have added a AjaxFormComponentUpdatingBehavior:

 final CheckBox required = new CheckBox(required, new
 PropertyModel(project, required));
 add(required);
 final DropDownChoice officer = new DropDownChoice(officer, new
 PropertyModel(project, officer), users, true);
 add(officer);
 officer.setOutputMarkupId(true);
 officer.setEnabled(project.isRequired());
 required.add(new AjaxFormComponentUpdatingBehavior(onchange) {
protected void onUpdate(final AjaxRequestTarget target) {
officer.setEnabled((Boolean) required.getModelObject());
if (!officer.isEnabled()) {
officer.setModelObject(null);
}
target.addComponent(officer);
}
 });


 This works fine withe Firefox. With IE7 (and IE6) the dropdownchoice is not
 updated until clicking on the it. Example:

 - Checkbox is unchecked and dropdownchoice is disabled by default
 - Check the checkbox - nothing happens, dropdownchoice is still disabled
 (in IE)
 - Clicking on dropdownchoice - dropdownchoice is enabled
 - Uncheck the checkbox - nothing happens, dropdownchoice is still enabled
 (in IE)
 - Clicking on dropdownchoice - dropdownchoice is disabled


 Can anybody help?

 Cheers, Kai




Re: YUI DatePicker Changing default behavior

2008-08-08 Thread nanotech

Anyone has any suggestions, please?


nanotech wrote:
 
 Hi all,
 
 I have multiple questions regarding YUI datepicker that I am using on my
 project.
 
 1. I have a from which has 6 DatePicker elements. Now it is possible that
 user can open all of them opened which will make screen look bad. To
 prevent that I would like to allow Only one calendar popup to remain open
 at a time. So, as soon as user clicks on the other date picker icon (same
 form or same Page)the first calendar popup disappears and re-appears at
 other place.
 
 2. Also, The way YUI calendar works is that, when popup calendar comes up 
 you have to either select a date or click on [x] icon to close. How can I
 make calendar go away if user clicks anywhere on the form?
 
 
 
 Thanks,
 ~R
 

-- 
View this message in context: 
http://www.nabble.com/YUI-DatePicker-Changing-default-behavior-tp18882233p18895409.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: PageParameters

2008-08-08 Thread Uwe Schäfer

ok, maybe there was too much K and V in my last mail ;)

I´ll try another way round:

wouldn´t it be nice to be able to use smth like that ?

MapString, Integer map =...
PageParameters p = new PageParameters(map);

So if you agree, please switch from

public PageParameters(final MapString, Object parameterMap)
to
public PageParameters(final MapString, ? parameterMap)

thx, uwe

--

THOMAS DAILY GmbH
Adlerstraße 19
79098 Freiburg
Deutschland
T  + 49 761 3 85 59 0
F  + 49 761 3 85 59 550
E  [EMAIL PROTECTED]
www.thomas-daily.de

Geschäftsführer/Managing Directors:
Wendy Thomas, Susanne Larbig
Handelsregister Freiburg i.Br., HRB 3947

Registrieren Sie sich unter http://morningnews.thomas-daily.de für die 
kostenfreien TD Morning News, eine Auswahl aktueller Themen des Tages 
morgens um 9:00 in Ihrer Mailbox.


Hinweis: Der Redaktionsschluss für unsere TD Morning News ist täglich um 
8:30 Uhr. Es werden vorrangig Informationen berücksichtigt, die nach 
16:00 Uhr des Vortages eingegangen sind. Die Email-Adresse unserer 
Redaktion lautet [EMAIL PROTECTED]



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



Re: PageParameter question

2008-08-08 Thread pixologe

you might also consider using put instead of add, which replaces an
existing parameter of the same key (if any)
-- 
View this message in context: 
http://www.nabble.com/PageParameter-question-tp16026015p18895652.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



help with css and image background

2008-08-08 Thread oriana

I need urgent one since help I have the page of begin and it don't want me to
catch the styles of the leaf of styles. I besides that want to put an image
of background in a table that on her the texts of autentication come and it
neither leaves me. That does it be making wrong??
I am completely new in this and I don't have idea that sew me pass. If
somebody could help me very grateful for that reason.:confused:
-- 
View this message in context: 
http://www.nabble.com/help-with-css-and-image-background-tp18898445p18898445.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: help with css and image background

2008-08-08 Thread Daan van Etten

I've read this more than once, and could not understand it.
Please try again to explain what you mean. This looks like Babelfish  
gibberish.


Regards,

Daan

On 8 aug 2008, at 22:21, oriana wrote:



I need urgent one since help I have the page of begin and it don't  
want me to
catch the styles of the leaf of styles. I besides that want to put  
an image
of background in a table that on her the texts of autentication come  
and it

neither leaves me. That does it be making wrong??
I am completely new in this and I don't have idea that sew me pass. If
somebody could help me very grateful for that reason.:confused:
--
View this message in context: 
http://www.nabble.com/help-with-css-and-image-background-tp18898445p18898445.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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




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



Re: PageParameters

2008-08-08 Thread Igor Vaynberg
done for now

-igor

2008/8/8 Uwe Schäfer [EMAIL PROTECTED]:
 ok, maybe there was too much K and V in my last mail ;)

 I´ll try another way round:

 wouldn´t it be nice to be able to use smth like that ?

 MapString, Integer map =...
 PageParameters p = new PageParameters(map);

 So if you agree, please switch from

 public PageParameters(final MapString, Object parameterMap)
 to
 public PageParameters(final MapString, ? parameterMap)

 thx, uwe

 --

 THOMAS DAILY GmbH
 Adlerstraße 19
 79098 Freiburg
 Deutschland
 T  + 49 761 3 85 59 0
 F  + 49 761 3 85 59 550
 E  [EMAIL PROTECTED]
 www.thomas-daily.de

 Geschäftsführer/Managing Directors:
 Wendy Thomas, Susanne Larbig
 Handelsregister Freiburg i.Br., HRB 3947

 Registrieren Sie sich unter http://morningnews.thomas-daily.de für die
 kostenfreien TD Morning News, eine Auswahl aktueller Themen des Tages
 morgens um 9:00 in Ihrer Mailbox.

 Hinweis: Der Redaktionsschluss für unsere TD Morning News ist täglich um
 8:30 Uhr. Es werden vorrangig Informationen berücksichtigt, die nach 16:00
 Uhr des Vortages eingegangen sind. Die Email-Adresse unserer Redaktion
 lautet [EMAIL PROTECTED]


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



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



Re: ListView in Forms

2008-08-08 Thread brian.diekelman


There are a few things going on here... try this and see if it does what you
want it to do.  If so reply back and I'll explain what the underlying issue
was:

TextField propertiesName = new TextField(name,new
PropertyModel(pluginProperties, name));
TextField propertiesValue = new TextField(value,new
PropertyModel(pluginProperties, value));
CheckBox propertiesDefault = new CheckBox(defaultProperty,new
PropertyModel(pluginProperties, defaultProperty)); 


Markus Haspl wrote:
 
 no, there aren't any errors.
 
 but i don't understand why i have to use propertiesName.getModelObject();
 in
 the onSubmit() method. Because there may be hundrets of propertiesName in
 the ListView/Form.
 
 Would it be better to make a Forms in a ListView? But then i need for
 every
 Form a submit-button. that wouldn't be so nice...
 
 thanks
 
 
 

-- 
View this message in context: 
http://www.nabble.com/ListView-in-Forms-tp18852263p18900382.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Images not caching in browser

2008-08-08 Thread jchappelle

Every time my pages load all the images load again. I'm not sure how to fix
this. Is it a change in my filter mapping?

Most of my images are loaded as a background-image style rule. My web.xml
filter mapping is this:

 filter-mapping
filter-namemyApplication/filter-name
url-pattern/*/url-pattern
 /filter-mapping

In my web root I have the following files and folders:
styles.css, images, WEB-INF. 

Can someone please help? This is really making my site run slowly. 

Thanks for your time. 
-- 
View this message in context: 
http://www.nabble.com/Images-not-caching-in-browser-tp18901385p18901385.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Is SAFE_CHILD_ID_PATTERN in AbstractRepeater correct, or does it break CSS spec?

2008-08-08 Thread John Patterson

Why are only digits allowed?  This stops me using a CompoundPropertyModel. 
It seems to work fine apart from the warning.


igor.vaynberg wrote:
 
 On Nov 16, 2007 2:55 PM, Edvin Syse [EMAIL PROTECTED] wrote:
 Why is container0 a non-safe id,
 
 because it contains nondigits like the message said?
 
 and isn't it wrong to use only digits
 for id's in css?
 
 this is component id, not css id...
 
 -igor
 
 

 SAFE_CHILD_ID_PATTERN is defined as ^\\d+$.

 I currently use 1.3-rc1.

 Sincerely,
 Edvin Syse

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


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

-- 
View this message in context: 
http://www.nabble.com/Is-SAFE_CHILD_ID_PATTERN-in-AbstractRepeater-correct%2C-or-does-it-break-CSS-spec--tp13803342p18901599.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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