Re: EventBus.push not pushing data to subscribe method

2013-07-11 Thread dlock
If you use the Google Guava library, make sure the import associated with the
@Subscribe annotation is

org.apache.wicket.atmosphere.Subscribe

and not

com.google.common.eventbus.Subscribe





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/EventBus-push-not-pushing-data-to-subscribe-method-tp4660183p4660198.html
Sent from the Users forum mailing list archive at Nabble.com.

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



AjaxCallListener and script of Component

2013-07-11 Thread Altuğ Bilgin Altıntaş
Hi all;

We are trying to migrate from Wicket 1.4 to 6.9.0.

We encountered a strange problem.

Here is the migrated code (which is working incorrectly):

 @Override
protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
super.updateAjaxAttributes(attributes);

AjaxCallListener myAjaxCallListener = new AjaxCallListener() {

@Override
public CharSequence getFailureHandler(Component component) {
return BlockerBehaviour.getJSUnBlock();
}

@Override
public CharSequence getBeforeHandler(Component component) {
  return BlockerBehaviour.getJSBlock();
}

   @Override
   public CharSequence getSuccessHandler(Component component){
  return BlockerBehaviour.getJSUnBlock();
   }
 };

attributes.getAjaxCallListeners().add(myAjaxCallListener);
}

My application doesn't work because we need to add Component's script. I
mean in Wicket 1.4 version , I can append component's script like this, ex
:

@Override
 public CharSequence decorateOnFailureScript(CharSequence script) {
return *script *+   + BlockerBehaviour.getJSUnBlock();
}

How can we append script of Component in Wicket 6.9.0 ?

Thanks.


Re: AjaxCallListener and script of Component

2013-07-11 Thread Martin Grigorov
Hi,

Read
https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax#WicketAjax-o.a.w.ajax.IAjaxCallDecoratorisreplacedwitho.a.w.ajax.attributes.IAjaxCallListener.


On Thu, Jul 11, 2013 at 3:38 PM, Altuğ Bilgin Altıntaş alt...@gmail.comwrote:

 Hi all;

 We are trying to migrate from Wicket 1.4 to 6.9.0.

 We encountered a strange problem.

 Here is the migrated code (which is working incorrectly):

  @Override
 protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
 super.updateAjaxAttributes(attributes);

 AjaxCallListener myAjaxCallListener = new AjaxCallListener() {

 @Override
 public CharSequence getFailureHandler(Component component) {
 return BlockerBehaviour.getJSUnBlock();
 }

 @Override
 public CharSequence getBeforeHandler(Component component) {
   return BlockerBehaviour.getJSBlock();
 }

@Override
public CharSequence getSuccessHandler(Component component){
   return BlockerBehaviour.getJSUnBlock();
}
  };

 attributes.getAjaxCallListeners().add(myAjaxCallListener);
 }

 My application doesn't work because we need to add Component's script. I
 mean in Wicket 1.4 version , I can append component's script like this, ex
 :

 @Override
  public CharSequence decorateOnFailureScript(CharSequence script) {
 return *script *+   + BlockerBehaviour.getJSUnBlock();
 }

 How can we append script of Component in Wicket 6.9.0 ?

 Thanks.



Re: wicket-atmosphere - How to unsubscribe?

2013-07-11 Thread dlock
A quick update...

After upgrading to the latest versions (wicket-6.9.0, wicket-atmosphere-0.11
 atmosphere-runtime-1.0.13) I was still experiencing the issue.  However I
noticed that some of the retained pages where being held by Jetty specific
classes (I was profiling the app locally via eclipse).  

I decided to carry out the same profiling on a deployed instance of the
application (runniing in Tomcat7) and the problem disappeared, pages are
cleared up as you would expect and nothing untoward is retained in memory. 

Therefore I can only assume that the issue is somehow related to the Jetty
implementation, but as I am not deploying to Jetty (I only use it to develop
with locally), I guess this is no longer a problem for me.





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-How-to-unsubscribe-tp4660170p4660206.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: AjaxCallListener and script of Component

2013-07-11 Thread Altuğ Bilgin Altıntaş
Thanks.


On Thu, Jul 11, 2013 at 3:42 PM, Martin Grigorov mgrigo...@apache.orgwrote:

 Hi,

 Read

 https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax#WicketAjax-o.a.w.ajax.IAjaxCallDecoratorisreplacedwitho.a.w.ajax.attributes.IAjaxCallListener
 .


 On Thu, Jul 11, 2013 at 3:38 PM, Altuğ Bilgin Altıntaş alt...@gmail.com
 wrote:

  Hi all;
 
  We are trying to migrate from Wicket 1.4 to 6.9.0.
 
  We encountered a strange problem.
 
  Here is the migrated code (which is working incorrectly):
 
   @Override
  protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
  super.updateAjaxAttributes(attributes);
 
  AjaxCallListener myAjaxCallListener = new AjaxCallListener() {
 
  @Override
  public CharSequence getFailureHandler(Component component) {
  return BlockerBehaviour.getJSUnBlock();
  }
 
  @Override
  public CharSequence getBeforeHandler(Component component) {
return BlockerBehaviour.getJSBlock();
  }
 
 @Override
 public CharSequence getSuccessHandler(Component component)
  {
return BlockerBehaviour.getJSUnBlock();
 }
   };
 
  attributes.getAjaxCallListeners().add(myAjaxCallListener);
  }
 
  My application doesn't work because we need to add Component's script. I
  mean in Wicket 1.4 version , I can append component's script like this,
 ex
  :
 
  @Override
   public CharSequence decorateOnFailureScript(CharSequence script) {
  return *script *+   + BlockerBehaviour.getJSUnBlock();
  }
 
  How can we append script of Component in Wicket 6.9.0 ?
 
  Thanks.
 



Upgrade to wicket 6 giving blank page in IE 9

2013-07-11 Thread prasad.bhandagi
Hi,

Am currently upgrading my project to wicket 6.9
Am facing a sporadic issue where sometimes page comes up blank (Only the
image placed at top of page comes fine). This error comes on any random
screen (not specific to a certain screen).

I tried to narrow down the scenario when this error occurs:

- This error occurs in IE 9, does *not* occur in Firefox 10
- This error occurs with RenderStrategy as REDIRECT_TO_BUFFER and
REDIRECT_TO_RENDER, but does *not*occur with RenderStrategy as
ONE_PASS_RENDER
- After the blank page comes up, if I hit the Refresh or Back button, the
same page comes up fine

Changing the RenderStrategy is not an option currently.
It appears IE is causing the connection to close sporadically. Not quite
sure what is going on. 
Any help will be much appreciated.

Thanks,
Prasad



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-page-in-IE-9-tp4660213.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Upgrade to wicket 6 giving blank page in IE 9

2013-07-11 Thread Cedric Gatay
Hi, what is the server environment you're facing this issue with? Did you
change something else than Wicket version ? From which one are you coming
from ?

Thanks for the answers !

__
Cedric Gatay (@Cedric_Gatay http://twitter.com/Cedric_Gatay)
http://code-troopers.com | http://www.bloggure.info | http://cedric.gatay.fr


On Thu, Jul 11, 2013 at 10:07 PM, prasad.bhandagi prasad.bhand...@marsh.com
 wrote:

 Hi,

 Am currently upgrading my project to wicket 6.9
 Am facing a sporadic issue where sometimes page comes up blank (Only the
 image placed at top of page comes fine). This error comes on any random
 screen (not specific to a certain screen).

 I tried to narrow down the scenario when this error occurs:

 - This error occurs in IE 9, does *not* occur in Firefox 10
 - This error occurs with RenderStrategy as REDIRECT_TO_BUFFER and
 REDIRECT_TO_RENDER, but does *not*occur with RenderStrategy as
 ONE_PASS_RENDER
 - After the blank page comes up, if I hit the Refresh or Back button, the
 same page comes up fine

 Changing the RenderStrategy is not an option currently.
 It appears IE is causing the connection to close sporadically. Not quite
 sure what is going on.
 Any help will be much appreciated.

 Thanks,
 Prasad



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-page-in-IE-9-tp4660213.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




Re: Upgrade to wicket 6 giving blank page in IE 9

2013-07-11 Thread prasad.bhandagi
Am upgrading from Wicket 1.3. However I am upgrading it step by step for each
major version. The problem did not occur when upgraded to 1.4 and 1.5. Only
after upgrading to 6.9 the problem started occuring. Am using Weblogic 10.3,
JDK6



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-page-in-IE-9-tp4660213p4660215.html
Sent from the Users forum mailing list archive at Nabble.com.

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



RE: Upgrade to wicket 6 giving blank page in IE 9

2013-07-11 Thread Paul Bors
Let me guess, the image that always shows up is a static resource w/o any
wicket id?

I remember I had a similar problem and if you look inside your webapp server
logs you would see the errors/warnings from Wicket.

If I remember right I fixed it by sticking to strict HTML 4.01.

Try adding the following to all of your pages:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;

See if that does the magic for you.

~ Thank you,
  Paul Bors

-Original Message-
From: prasad.bhandagi [mailto:prasad.bhand...@marsh.com] 
Sent: Thursday, July 11, 2013 4:44 PM
To: users@wicket.apache.org
Subject: Re: Upgrade to wicket 6 giving blank page in IE 9

Am upgrading from Wicket 1.3. However I am upgrading it step by step for
each major version. The problem did not occur when upgraded to 1.4 and 1.5.
Only after upgrading to 6.9 the problem started occuring. Am using Weblogic
10.3,
JDK6



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Upgrade-to-wicket-6-giving-blank-
page-in-IE-9-tp4660213p4660215.html
Sent from the Users forum mailing list archive at Nabble.com.

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



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



DateTextField, image is displayed on line below

2013-07-11 Thread Delange
I use css for positioning my fields, but Datatextfield ICON is always
displayed a line below the input

For example:
Orderdate B
 date icon
Who can help?


css
.regel{
 clear:left;
}
.t1{
display: inline-block;
width: 200px;
float:left;
clear: left;
}
.t2{
display: inline-block;
width: 15px;
float:left;
color: red
}
.t3{
display: inline-block;
width: 100px;
float:left;

}

label class=t2nbsp;/label
div class=t3input wicket:id=besteldatum name=besteldatum
type=text size=9 maxlength=9//div

Is displayed as:

div class=regel
label class=t1Besteldatum/label
label class=t2nbsp;/label
div class=t3input name=besteldatum type=text size=9 maxlength=9
value=05/07/2013 id=id6/
nbsp;
../resource/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1-ver-A9D71378ED9162B2DB5DE040C09D5BDE.gif
/div
/div



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DateTextField-image-is-displayed-on-line-below-tp4660217.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Problem with swapping panels using Ajax links

2013-07-11 Thread Chris Whitcomb
I have a page that I swap 2 panels - read and edit.  On the read panel, the
edit button is an AjaxFallbackLink.  In the onClick, I replace the read
panel with the edit panel.

This button works correctly - the panel gets swapped out.

On the edit panel, I have 2 buttons - cancel which is an AjaxFallbackLink
and save which is an AjaxSubmitLink.  Both these buttons after doing the
business logic display the read panel.

I have a sandbox WebSphere server (ver 6.1) that the cancel and save buttons
work on.  When I deploy to our development server (WebSphere 6.1), the
cancel and save buttons don't work.  I have added logging to the onClick to
see where they fail, but all the logging gets output, so all the code runs,
but the read panel never shows on the page.  

I am using IE, but this happens the same way in FireFox.

A am using the wicket filter, not the servlet (I know there are issues with
WebSphere 6.1).  The setting:
com.ibm.ws.webcontainer.invokefilterscompatibility is set to true on both
servers. The panel swapping works as expected if I switch to the servlet,
but that causes other errors (see below).  Using the filter, all
functionality works in my sandbox, just not in our development region.  To
my knowledge, the 2 servers are configured the same (but apparently not).  

In the development region, I have looked at the AJAX Debug window.
First, I clicked on edit document button.  Then I clicked on cancel.  There
is an error when I click the cancel button:  ERROR: Received Ajax response
with code: 404

I see this when I click on edit:
INFO: Initiating Ajax GET request on
?wicket:interface=:8:documentProperties:editDocument::IBehaviorListener:0:random=0.3593767262126522

I see this when I click on cancel:
INFO: Initiating Ajax GET request on
?wicket:interface=:8:documentProperties:editDocumentProperties:cancelChanges::IBehaviorListener:0:-1random=0.9291661442409403

--

In this project, I also have a web service using cxf.  If I switch the
wicket to use the servlet, the web service no longer works.  I'm thinking
that my servlet mappings are conflicting, but no matter which order I put
them in, it doesn't work.

I don't care which problem gets fixed (panel swapping using the filter
setting or the multiple servlets).

I do have a PMR open with IBM, because I have 2 environments with different
results when they should be exactly the same.  I thought I would post here
as well hoping that someone may know what configuration may be causing this
problem.

I am using Wicket 1.4.22.

I didn't post any of the code because I didn't know what you would want to
see.  I also don't think it is a code issue.  I can post my web.xml if you
want to look at my servlet mapping.

Thanks.





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-swapping-panels-using-Ajax-links-tp4660211.html
Sent from the Users forum mailing list archive at Nabble.com.

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



RE: DateTextField, image is displayed on line below

2013-07-11 Thread Paul Bors
You do realize this is not a Wicket direct question but a CSS one right?

I would try running your code through one of the many tutorials on say
w3schools.com:
http://www.w3schools.com/css/

Good luck!

-Original Message-
From: Delange [mailto:delan...@telfort.nl] 
Sent: Thursday, July 11, 2013 5:23 PM
To: users@wicket.apache.org
Subject: DateTextField, image is displayed on line below

I use css for positioning my fields, but Datatextfield ICON is always
displayed a line below the input

For example:
Orderdate B
 date icon Who can help?


css
.regel{
 clear:left;
}
.t1{
display: inline-block;
width: 200px;
float:left;
clear: left;
}
.t2{
display: inline-block;
width: 15px;
float:left;
color: red
}
.t3{
display: inline-block;
width: 100px;
float:left;

}

label class=t2nbsp;/label
div class=t3input wicket:id=besteldatum name=besteldatum
type=text size=9 maxlength=9//div

Is displayed as:

div class=regel
label class=t1Besteldatum/label
label class=t2nbsp;/label
div class=t3input name=besteldatum type=text size=9 maxlength=9
value=05/07/2013 id=id6/
nbsp;
../resource/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1-ver-
A9D71378ED9162B2DB5DE040C09D5BDE.gif
/div
/div



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DateTextField-image-is-displayed-
on-line-below-tp4660217.html
Sent from the Users forum mailing list archive at Nabble.com.

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



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



Re: DateTextField, image is displayed on line below

2013-07-11 Thread Dieter Tremel
I used

white-space: nowrap;

on the containing element.

Dieter

Am 11.07.2013 23:23, schrieb Delange:
 I use css for positioning my fields, but Datatextfield ICON is always
 displayed a line below the input
 
 For example:
 Orderdate B
  date icon
 Who can help?
 
 
 css
 .regel{
clear:left;
 }
 .t1{
   display: inline-block;
 width: 200px;
   float:left;
   clear: left;
 }
 .t2{
   display: inline-block;
 width: 15px;
   float:left;
   color: red
 }
 .t3{
   display: inline-block;
 width: 100px;
   float:left;
 
 }
 
 label class=t2nbsp;/label
 div class=t3input wicket:id=besteldatum name=besteldatum
 type=text size=9 maxlength=9//div
 
 Is displayed as:
 
 div class=regel
 label class=t1Besteldatum/label
 label class=t2nbsp;/label
 div class=t3input name=besteldatum type=text size=9 maxlength=9
 value=05/07/2013 id=id6/
 nbsp;
 ../resource/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1-ver-A9D71378ED9162B2DB5DE040C09D5BDE.gif
 /div
 /div
 
 
 
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/DateTextField-image-is-displayed-on-line-below-tp4660217.html
 Sent from the Users forum mailing list archive at Nabble.com.

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



Re: WICKET-5083 and Page.isPageStateless

2013-07-11 Thread Dirk Forchel
We've added a TransactionRequestCycleListener (extends
AbstractRequestCycleListener). This class handles transactions mainly like
this:

@Override
public void onRequestHandlerResolved(final RequestCycle cycle, final
IRequestHandler handler)
{
LOGGER.debug( start transaction --- +
cycle.getRequest().getUrl().toString() + --- );
Main.model.startTransaction(applicationName);
}

@Override
public void onRequestHandlerExecuted(final RequestCycle cycle, final
IRequestHandler handler)
{
if(handler instanceof FooExceptionRequestHandler)
{
LOGGER.warn( rollback transaction --- +
cycle.getRequest().getUrl().toString() + --- );
Main.model.rollbackIfNotCommitted();
}
else
{
if( Main.model.hasCurrentTransaction() )
{
LOGGER.debug( commit transaction --- +
cycle.getRequest().getUrl().toString() + --- );
Main.model.commit();
}
else
{
LOGGER.debug( no transaction to commit --- +
cycle.getRequest().getUrl().toString() + --- );
}
}
}


The Model#currentTransaction() just returns the current transaction for this
thread and looks like:

/**
* Returns the transaction for this model,
* that is bound to the currently running thread.
* @throws IllegalStateException if there is no cope transaction bound to
current thread
 * @see Thread#currentThread()
 */
public Transaction currentTransaction()
{
final Transaction result = transactions.currentIfBound();
if(result==null)
throw new IllegalStateException(there is no transaction bound 
to this
thread, see Model#startTransaction);
return result;
}

We use our own persistence framework to handle transactions to the
underlying database. No magic all about.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WICKET-5083-and-Page-isPageStateless-tp4660166p4660220.html
Sent from the Users forum mailing list archive at Nabble.com.

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



RE: Problem with swapping panels using Ajax links

2013-07-11 Thread Paul Bors
What do you mean by swapping panels?

Are you using Component.replace()?
And why would you when you could do all this in-line (the same way as the
new version of Jira does it)?

Try this live example:
1) Log on to http://Wicket.Apache.org
2) From under the Learn left navigation menu select the Examples link
3) Then the live action link on the page that come up
   You will be redirected to http://www.wicket-library.com/
4) Now select the ajax link for examples using wicket's built-in AJAX
5) Select the Editable Label Example link that shows a label that can be
edited inline via ajax
6) Click the Source code from the upper right-corner and enjoy the simple
example

Remember that you can always use the AjaxFallback*** counterpart components
if you would like to support browsers that don't have JS turned on (isn't
this the de-facto now-a-day anyhow?).

Have fun!

-Original Message-
From: Chris Whitcomb [mailto:cwhitc...@osc.state.ny.us] 
Sent: Thursday, July 11, 2013 1:50 PM
To: users@wicket.apache.org
Subject: Problem with swapping panels using Ajax links

I have a page that I swap 2 panels - read and edit.  On the read panel, the
edit button is an AjaxFallbackLink.  In the onClick, I replace the read
panel with the edit panel.

This button works correctly - the panel gets swapped out.

On the edit panel, I have 2 buttons - cancel which is an AjaxFallbackLink
and save which is an AjaxSubmitLink.  Both these buttons after doing the
business logic display the read panel.

I have a sandbox WebSphere server (ver 6.1) that the cancel and save buttons
work on.  When I deploy to our development server (WebSphere 6.1), the
cancel and save buttons don't work.  I have added logging to the onClick to
see where they fail, but all the logging gets output, so all the code runs,
but the read panel never shows on the page.  

I am using IE, but this happens the same way in FireFox.

A am using the wicket filter, not the servlet (I know there are issues with
WebSphere 6.1).  The setting:
com.ibm.ws.webcontainer.invokefilterscompatibility is set to true on both
servers. The panel swapping works as expected if I switch to the servlet,
but that causes other errors (see below).  Using the filter, all
functionality works in my sandbox, just not in our development region.  To
my knowledge, the 2 servers are configured the same (but apparently not).  

In the development region, I have looked at the AJAX Debug window.
First, I clicked on edit document button.  Then I clicked on cancel.  There
is an error when I click the cancel button:  ERROR: Received Ajax response
with code: 404

I see this when I click on edit:
INFO: Initiating Ajax GET request on
?wicket:interface=:8:documentProperties:editDocument::IBehaviorListener:0:r
andom=0.3593767262126522

I see this when I click on cancel:
INFO: Initiating Ajax GET request on
?wicket:interface=:8:documentProperties:editDocumentProperties:cancelChanges
::IBehaviorListener:0:-1random=0.9291661442409403

--

In this project, I also have a web service using cxf.  If I switch the
wicket to use the servlet, the web service no longer works.  I'm thinking
that my servlet mappings are conflicting, but no matter which order I put
them in, it doesn't work.

I don't care which problem gets fixed (panel swapping using the filter
setting or the multiple servlets).

I do have a PMR open with IBM, because I have 2 environments with different
results when they should be exactly the same.  I thought I would post here
as well hoping that someone may know what configuration may be causing this
problem.

I am using Wicket 1.4.22.

I didn't post any of the code because I didn't know what you would want to
see.  I also don't think it is a code issue.  I can post my web.xml if you
want to look at my servlet mapping.

Thanks.





--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Problem-with-swapping-panels-usin
g-Ajax-links-tp4660211.html
Sent from the Users forum mailing list archive at Nabble.com.

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



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



RE: DateTextField, image is displayed on line below

2013-07-11 Thread Paul Bors
Tell you what, save the HTML file in your IE9 and let us have a look at it.

You made me curious now :)

~ Thank you,
  Paul Bors

-Original Message-
From: Dieter Tremel [mailto:tre...@tremel-computer.de] 
Sent: Friday, July 12, 2013 12:24 AM
To: users@wicket.apache.org
Subject: Re: DateTextField, image is displayed on line below

I used

white-space: nowrap;

on the containing element.

Dieter

Am 11.07.2013 23:23, schrieb Delange:
 I use css for positioning my fields, but Datatextfield ICON is always 
 displayed a line below the input
 
 For example:
 Orderdate B
  date icon Who can help?
 
 
 css
 .regel{
clear:left;
 }
 .t1{
   display: inline-block;
 width: 200px;
   float:left;
   clear: left;
 }
 .t2{
   display: inline-block;
 width: 15px;
   float:left;
   color: red
 }
 .t3{
   display: inline-block;
 width: 100px;
   float:left;
 
 }
 
 label class=t2nbsp;/label
 div class=t3input wicket:id=besteldatum name=besteldatum
 type=text size=9 maxlength=9//div
 
 Is displayed as:
 
 div class=regel
 label class=t1Besteldatum/label
 label class=t2nbsp;/label
 div class=t3input name=besteldatum type=text size=9
maxlength=9
 value=05/07/2013 id=id6/
 nbsp;
 ../resource/org.apache.wicket.extensions.yui.calendar.DatePicker/icon
 1-ver-A9D71378ED9162B2DB5DE040C09D5BDE.gif
 /div
 /div
 
 
 
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/DateTextField-image-is-disp
 layed-on-line-below-tp4660217.html
 Sent from the Users forum mailing list archive at Nabble.com.

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



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