Re: How to Add JS Modifer to a Non-Form-Processing AjaxButton

2013-04-11 Thread Martin Grigorov
Hi,


On Thu, Apr 11, 2013 at 10:59 PM, eugenebalt  wrote:

> We have an AjaxButton with the following flag, to disable default form
> processing (we don't want it to submit the form):
>
> ajaxButton.setDefaultFormProcessing(false);
>
> The problem is that we need to attach a JS alert box ("Are you sure?
> OK/Cancel") when this button is clicked. If OK is clicked, we go through
> with the onSubmit(), otherwise nothing happens.
>
> I'm seeing that when I do this
>
> ajaxButton.add( new SimpleAttributeModifier("onclick", "return confirm('Are
> you sure you want to delete the selected record(s)?');"));
>

Doing it this way it will override button's onclick attribute with your own
one.
You need to use IAjaxCallDecorator instead.
The produced JS should look like:

onclick="if(confirm('Blah blah') {wicketAjaxPost(...)})"


>
> nothing happens regardless of OK/Cancel, the onSubmit is never invoked. Is
> that because defaultFormProcessing=False? Is there a workaround? Thanks
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/How-to-Add-JS-Modifer-to-a-Non-Form-Processing-AjaxButton-tp4657904.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
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


Re: 1.4 -> 6.0 question

2013-04-11 Thread Marco Springer
Hello Pierre,

You can also just override/extend the onComponentTag function from the 
Component.:

Component {
  @Override
  protected void onComponentTag(ComponentTag tag) {
super.onComponentTag(tag);
tag.put("attribute", "value")
  }
}

As far as I can see, SimpleAttributeModifier doesn't exist anymore, just use 
the "AttributeModifier" class or sub-class that if you really need to.

Or attach a custom Behavior to the component which can also override the 
onComponentTag function like so: 
public class FeedbackFieldDecorator extends Behavior {
  @Override
  public void onComponentTag(Component component, ComponentTag tag) {
if (!((FormComponent)component).isValid()) {
  String cl = tag.getAttribute("class");
  if (cl == null) {
tag.put("class", "error");
  } else {
tag.put("class", "error " + cl);
  }
}
  }
}

Cheers,
Marco

On Thursday 11 April 2013 21:50:28 Pierre Goupil wrote:
> Good evening,
> 
> I have a Wicket 1.4 code that I want to migrate to 6.0. It all works fine
> except for this code in a sub-class of SimpleAttributeModifier:
> 
>   @Override
>   public void onComponentTag(final Component component, final ComponentTag
> tag) {
> System.out.println("ononComponentTag called. component="+component+",
> tag="+tag);
> if (isEnabled(component)) {
>   System.out.println("changing attribute, value="+value);
>   tag.getAttributes().put(attribute, value);
> }
>   }
> 
> I don't know what this code is supposed to do, so does anyone know with
> what to replace it? AttributeModifier#onComponentTag() is final in 6.0!
> 
> Any help is much appreciated.
> 
> Regards,
> 
> Pierre

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



Re: Regresion in 6.7.0-SNAPSHOT

2013-04-11 Thread Alexey Mukas
Done,  WICKET-5141   



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Regresion-in-6-7-0-SNAPSHOT-tp4657901p4657913.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: Atmosphere problem with JBoss 7.1

2013-04-11 Thread Martin Grigorov
hi

On Apr 12, 2013 12:23 AM, "Raul"  wrote:
>
> Hi, I have two questions concerning the atmosphere framework, I use wicket
> 6.6.0 and JBoss 7.1.
> I configured my application following the example,
> https://github.com/papegaaij/wicket-atmosphere-quickstart. And the
> application displays correctly, but when trying to enter, it returns a
404.
> Taking these traces.
>
> 23:05:40,588 WARN [org.atmosphere.cpr.AtmosphereFramework] (http -
> 127.0.0.1-8443-1) Failed using comet support:
> org.atmosphere.container.JBossWebCometSupport, error: JBoss failed to
detect
> this is a Comet Because the APR Connector application is not enabled.
> Make sure atmosphere-compat-jboss.jar is not under your WEB-INF/lib and
> there is no context.xml under WEB-INF or April Is the Nio Connector
enabled?
> 23:05:40,590 ERROR [org.atmosphere.cpr.AtmosphereFramework] (http -
> 127.0.0.1-8443-1) If you have more than one Connector enabled, make sure
you
> use the same They Both protocol, eg NIO / APR or HTTP for all. If not,
will
> be used org.atmosphere.container.BlockingIOCometSupport and can not be
> changed.
> 23:05:40,593 WARN [org.atmosphere.cpr.AtmosphereFramework] (http -
> 127.0.0.1-8443-1) Using org.atmosphere.container.BlockingIOCometSupport
>

these messages are logged by Atmosphere.  Better ask in their forum.
>
> My other question is, how does this example?
>   http://www.wicket-library.com/wicket-examples-6.0.x/atmosphere/?1
>

The  question is incomplete.

>
>
> --
> View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Atmosphere-problem-with-JBoss-7-1-tp4657907.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: Regresion in 6.7.0-SNAPSHOT

2013-04-11 Thread Martin Grigorov
Hi,

please create a ticket with a quick start/unit test
On Apr 11, 2013 10:40 PM, "Alexey Mukas"  wrote:

> Hi,
>
> I've just checked upcoming 6.7 release and have found a regression (6.6.0
> works fine).
>
> The problem appears when I'm trying to use UrlResourceReference with a url
> that starts with slash.
>
> Here is the code (assume the case when context path is empty)
>
> @Override
> public void renderHead(IHeaderResponse response) {
> super.renderHead(response);
>
> UrlResourceReference reference = new
> UrlResourceReference(Url.parse(path("style.css")));
> response.render(CssHeaderItem.forReference(reference));
> }
>
> private static String path(String relativePath) {
> return String.format("%s/%s", getBaseUrl(), relativePath);
> }
>
> private static String getBaseUrl() {
> return RequestCycle.get().getRequest().getContextPath();
> }
>
> Looks like it was introduced after fixing WICKET-5065
>
> Removing the slash fixes the problem.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Regresion-in-6-7-0-SNAPSHOT-tp4657901.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: AddOrReplace with Ajax

2013-04-11 Thread Igor Vaynberg
addOrReplace will copy the id for you.

you just have to make sure that the component you are replacing has
its setOutputMarkupId() set to true during the initial non-ajax
render. from then on everything will work the same.

-igor

On Thu, Apr 11, 2013 at 3:01 PM, Nick Pratt  wrote:
> I use addOrReplace fairly frequently in normal requests, but Im having
> trouble making this work in an Ajax request.
>
> 1. Add EmptyPanel("someId"); to page
> 2. User clicks link, and then on the server side I do: addOrReplace(new
> DetailPanel("someId"));
>  and the Details Panel appears in place of the EmptyPanel.
>
> How do I make this work in an AjaxLink?
>
> In order to update the component via Ajax, I need its markupId in the
> existing markup - EmptyPanel doesnt have one (or has a different one to the
> DetailPanel).
>
> Should I set the markupId of the EmptyPanel and the constructed DetailPanel
> to be the same value?
>
> Regards
>
> Nick

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



AddOrReplace with Ajax

2013-04-11 Thread Nick Pratt
I use addOrReplace fairly frequently in normal requests, but Im having
trouble making this work in an Ajax request.

1. Add EmptyPanel("someId"); to page
2. User clicks link, and then on the server side I do: addOrReplace(new
DetailPanel("someId"));
 and the Details Panel appears in place of the EmptyPanel.

How do I make this work in an AjaxLink?

In order to update the component via Ajax, I need its markupId in the
existing markup - EmptyPanel doesnt have one (or has a different one to the
DetailPanel).

Should I set the markupId of the EmptyPanel and the constructed DetailPanel
to be the same value?

Regards

Nick


Atmosphere problem with JBoss 7.1

2013-04-11 Thread Raul
Hi, I have two questions concerning the atmosphere framework, I use wicket
6.6.0 and JBoss 7.1.
I configured my application following the example,
https://github.com/papegaaij/wicket-atmosphere-quickstart. And the
application displays correctly, but when trying to enter, it returns a 404.
Taking these traces.

23:05:40,588 WARN [org.atmosphere.cpr.AtmosphereFramework] (http -
127.0.0.1-8443-1) Failed using comet support:
org.atmosphere.container.JBossWebCometSupport, error: JBoss failed to detect
this is a Comet Because the APR Connector application is not enabled.
Make sure atmosphere-compat-jboss.jar is not under your WEB-INF/lib and
there is no context.xml under WEB-INF or April Is the Nio Connector enabled?
23:05:40,590 ERROR [org.atmosphere.cpr.AtmosphereFramework] (http -
127.0.0.1-8443-1) If you have more than one Connector enabled, make sure you
use the same They Both protocol, eg NIO / APR or HTTP for all. If not, will
be used org.atmosphere.container.BlockingIOCometSupport and can not be
changed.
23:05:40,593 WARN [org.atmosphere.cpr.AtmosphereFramework] (http -
127.0.0.1-8443-1) Using org.atmosphere.container.BlockingIOCometSupport


My other question is, how does this example?
  http://www.wicket-library.com/wicket-examples-6.0.x/atmosphere/?1



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Atmosphere-problem-with-JBoss-7-1-tp4657907.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: Regresion in 6.7.0-SNAPSHOT

2013-04-11 Thread Alexey Mukas
I've found much simpler solution: use forUrl instead of
forReference+UrlResourceReference
like so
response.render(CssHeaderItem.forUrl("style.css"));

documentation says that the url is context-relative, so it will work with
non-default context as well



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Regresion-in-6-7-0-SNAPSHOT-tp4657901p4657906.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



How to Add JS Modifer to a Non-Form-Processing AjaxButton

2013-04-11 Thread eugenebalt
There was some error submitting the first post, so I'll resubmit:

We have an AjaxButton on which defaultFormProcessing = FALSE. I need to
attach a JS modifier to it with an alert box ("Are you sure? OK/Cancel"),
but when I add a SimpleAttributeModifier, I don't go through with the
onClick regardless of OK/Cancel, there is no action.

I was wondering if that was because of the defaultFormProcessing = FALSE.
Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-Add-JS-Modifer-to-a-Non-Form-Processing-AjaxButton-tp4657905.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



How to Add JS Modifer to a Non-Form-Processing AjaxButton

2013-04-11 Thread eugenebalt
We have an AjaxButton with the following flag, to disable default form
processing (we don't want it to submit the form):

ajaxButton.setDefaultFormProcessing(false);

The problem is that we need to attach a JS alert box ("Are you sure?
OK/Cancel") when this button is clicked. If OK is clicked, we go through
with the onSubmit(), otherwise nothing happens.

I'm seeing that when I do this

ajaxButton.add( new SimpleAttributeModifier("onclick", "return confirm('Are
you sure you want to delete the selected record(s)?');"));

nothing happens regardless of OK/Cancel, the onSubmit is never invoked. Is
that because defaultFormProcessing=False? Is there a workaround? Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-Add-JS-Modifer-to-a-Non-Form-Processing-AjaxButton-tp4657904.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



1.4 -> 6.0 question

2013-04-11 Thread Pierre Goupil
Good evening,

I have a Wicket 1.4 code that I want to migrate to 6.0. It all works fine
except for this code in a sub-class of SimpleAttributeModifier:

  @Override
  public void onComponentTag(final Component component, final ComponentTag
tag) {
System.out.println("ononComponentTag called. component="+component+",
tag="+tag);
if (isEnabled(component)) {
  System.out.println("changing attribute, value="+value);
  tag.getAttributes().put(attribute, value);
}
  }

I don't know what this code is supposed to do, so does anyone know with
what to replace it? AttributeModifier#onComponentTag() is final in 6.0!

Any help is much appreciated.

Regards,

Pierre



-- 
"Parce que c'est la nuit qu'il est beau de croire à la lumière."

Edmond Rostand


Re: Busy Indicator to prevent user activity

2013-04-11 Thread Ernesto Reinaldo Barreiro
move the div blocking layer under body and give it a z-index bigger than
the one of modal window


On Thu, Apr 11, 2013 at 9:50 PM, saty  wrote:

> I was able to position it wherever i want but now i notice that its hides
> under one of my model window in certain cases, is there a way to show it
> above the model window too.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657900.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
>
>


-- 
Regards - Ernesto Reinaldo Barreiro


Regresion in 6.7.0-SNAPSHOT

2013-04-11 Thread Alexey Mukas
Hi,

I've just checked upcoming 6.7 release and have found a regression (6.6.0
works fine).

The problem appears when I'm trying to use UrlResourceReference with a url
that starts with slash.

Here is the code (assume the case when context path is empty)

@Override
public void renderHead(IHeaderResponse response) {
super.renderHead(response);

UrlResourceReference reference = new
UrlResourceReference(Url.parse(path("style.css")));
response.render(CssHeaderItem.forReference(reference));
}

private static String path(String relativePath) {
return String.format("%s/%s", getBaseUrl(), relativePath);
}

private static String getBaseUrl() {
return RequestCycle.get().getRequest().getContextPath();
}

Looks like it was introduced after fixing WICKET-5065

Removing the slash fixes the problem.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Regresion-in-6-7-0-SNAPSHOT-tp4657901.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: Busy Indicator to prevent user activity

2013-04-11 Thread saty
I was able to position it wherever i want but now i notice that its hides
under one of my model window in certain cases, is there a way to show it
above the model window too.

Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657900.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: Component containing a repeater with customizable item markup

2013-04-11 Thread pureza
I managed to make it work by using panels and fragments.

Thanks!



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Component-containing-a-repeater-with-customizable-item-markup-tp4657895p4657899.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: FileUploadField best approach to populating a file

2013-04-11 Thread mohallo
Thanks Dan for your help.
That worked out great . 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FileUploadField-best-approach-to-populating-a-file-tp4657832p4657898.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: Component containing a repeater with customizable item markup

2013-04-11 Thread pureza
I don't think a Border should work, because the Border constructor calls
addToBorder(body), but I want my body to be added to each of the list items,
not to the border itself.

Anyway, I'm using #addToBorder() to add the button and the menu.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Component-containing-a-repeater-with-customizable-item-markup-tp4657895p4657897.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: Component containing a repeater with customizable item markup

2013-04-11 Thread Sven Meier

Hi,

a Border should work fine here.
Are you using #add() and #addToBorder() correctly?

Regards
Sven

On 04/11/2013 05:04 PM, pureza wrote:

Hi,

I want to create a custom component with a repeater, where the markup for
each item in the repeater is specified by the users of the component, not in
its internal definition.

That is, the internal markup of the component looks like this:



And the component is used with:



So, for each "menu-item", I want to render the custom HTML


I may want to reuse the same component in other places, but providing
different item markup. Is this possible?

I tried to use a , but I guess it wasn't supposed to work
like that...

Thanks.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Component-containing-a-repeater-with-customizable-item-markup-tp4657895.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



Component containing a repeater with customizable item markup

2013-04-11 Thread pureza
Hi,

I want to create a custom component with a repeater, where the markup for
each item in the repeater is specified by the users of the component, not in
its internal definition.

That is, the internal markup of the component looks like this:



And the component is used with:



So, for each "menu-item", I want to render the custom HTML 


I may want to reuse the same component in other places, but providing
different item markup. Is this possible?

I tried to use a , but I guess it wasn't supposed to work
like that...

Thanks.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Component-containing-a-repeater-with-customizable-item-markup-tp4657895.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: a book about Wicket 6.x

2013-04-11 Thread Yanal Jij
Thank you all for your suggestions,


Yanal Jij
Software Engineer
 
21515 Ridgetop Circle, Suite 290
Sterling, VA 20166
y...@reverbnetworks.com
www.reverbnetworks.com



 *This electronic mail message and any attached files or documents contain 
information intended for the exclusive use of the party or parties to whom it 
is addressed and may contain information that is confidential, proprietary 
and/or privileged.  If you are not an intended recipient, or the person 
responsible for delivering the e-mail to the intended recipient, you are hereby 
notified that you have received this message in error and that any viewing, 
copying, disclosure, distribution, dissemination, forwarding, printing or other 
use of this information is strictly prohibited and may be subject to legal 
restriction or sanction.  Please notify the sender, by electronic mail or 
telephone, of any unintended recipients and destroy all copies of this message 
and the attachments (if any) without making any copies thereof.






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



Re: a book about Wicket 6.x

2013-04-11 Thread Martin Grigorov
The new book is listed as the very first one at
http://wicket.apache.org/learn/books/


On Thu, Apr 11, 2013 at 5:54 PM, Marco Springer  wrote:

> **
>
> http://code.google.com/p/wicket-guide/
>
>
> On Thursday 11 April 2013 10:52:20 Yanal Jij wrote:
>
> Hi all,
>
>
>
> Any suggestions on books to learn Wicket 6.x , I tried the books on the
> Wicket website they are all about Wicket 1.5 (Wicket in Action and Enjoying
> Web development with Wicket).
>
>
>
>
>
> Thank you for any help.
>
>
>
> Yanal Jij
>
> Software Engineer
>
>
>
> 21515 Ridgetop Circle, Suite 290
>
> Sterling, VA 20166
>
> y...@reverbnetworks.com
>
> www.reverbnetworks.com
>
>
>
> Come visit Reverb Networks at LTE Latin America 2013
>
>
>
>  *This electronic mail message and any attached files or documents
> contain information intended for the exclusive use of the party or parties
> to whom it is addressed and may contain information that is confidential,
> proprietary and/or privileged.  If you are not an intended recipient, or
> the person responsible for delivering the e-mail to the intended recipient,
> you are hereby notified that you have received this message in error and
> that any viewing, copying, disclosure, distribution, dissemination,
> forwarding, printing or other use of this information is strictly
> prohibited and may be subject to legal restriction or sanction.  Please
> notify the sender, by electronic mail or telephone, of any unintended
> recipients and destroy all copies of this message and the attachments (if
> any) without making any copies thereof.
>
>
>
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


Re: a book about Wicket 6.x

2013-04-11 Thread Marco Springer
http://code.google.com/p/wicket-guide/

On Thursday 11 April 2013 10:52:20 Yanal Jij wrote:

Hi all,
 
Any suggestions on books to learn Wicket 6.x , I tried the books on the Wicket 
website they are all about Wicket 1.5 (Wicket in Action and Enjoying Web 
development with Wicket).
 
 
Thank you for any help.
 
Yanal Jij
Software Engineer
 
21515 Ridgetop Circle, Suite 290
Sterling, VA 20166
y...@reverbnetworks.com
www.reverbnetworks.com
 
Come visit Reverb Networks at LTE Latin America 2013

 
 *This electronic mail message and any attached files or documents contain 
information intended for the exclusive use of the party or parties to whom it 
is addressed and may contain information that is confidential, proprietary 
and/or privileged.  If you are not an intended recipient, or the person 
responsible for delivering the e-mail to the intended recipient, you are 
hereby notified that you have received this message in error and that any 
viewing, copying, disclosure, distribution, dissemination, forwarding, 
printing or other use of this information is strictly prohibited and may be 
subject to legal restriction or sanction.  Please notify the sender, by 
electronic mail or telephone, of any unintended recipients and destroy all 
copies of this message and the attachments (if any) without making any copies 
thereof.
 



Re: a book about Wicket 6.x

2013-04-11 Thread Bertrand Guay-Paquet

Hi,

Check out the new http://code.google.com/p/wicket-guide/

On 11/04/2013 10:52 AM, Yanal Jij wrote:


Hi all,

Any suggestions on books to learn Wicket 6.x , I tried the books on 
the Wicket website they are all about Wicket 1.5 (Wicket in Action and 
Enjoying Web development with Wicket).


Thank you for any help.

Yanal Jij

Software Engineer

Logo_350x134

21515 Ridgetop Circle, Suite 290

Sterling, VA 20166

y...@reverbnetworks.com 

www.reverbnetworks.com 

**

*Come visit Reverb Networks at LTE Latin America 2013*

*cid:image002.png@01CE1C9A.DC809A40***

/*This electronic mail message and any attached files or documents 
contain information intended for the exclusive use of the party or 
parties to whom it is addressed and may contain information that is 
confidential, proprietary and/or privileged.  If you are not an 
intended recipient, or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that you 
have received this message in error and that any viewing, copying, 
disclosure, distribution, dissemination, forwarding, printing or other 
use of this information is strictly prohibited and may be subject to 
legal restriction or sanction.  Please notify the sender, by 
electronic mail or telephone, of any unintended recipients and destroy 
all copies of this message and the attachments (if any) without making 
any copies thereof./





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



a book about Wicket 6.x

2013-04-11 Thread Yanal Jij
Hi all,

 

Any suggestions on books to learn Wicket 6.x , I tried the books on the
Wicket website they are all about Wicket 1.5 (Wicket in Action and Enjoying
Web development with Wicket).

 

 

Thank you for any help.

 

Yanal Jij

Software Engineer

 Logo_350x134

21515 Ridgetop Circle, Suite 290

Sterling, VA 20166

  y...@reverbnetworks.com

  www.reverbnetworks.com

 

Come visit Reverb Networks at LTE Latin America 2013

cid:image002.png@01CE1C9A.DC809A40

 

 *This electronic mail message and any attached files or documents contain
information intended for the exclusive use of the party or parties to whom
it is addressed and may contain information that is confidential,
proprietary and/or privileged.  If you are not an intended recipient, or the
person responsible for delivering the e-mail to the intended recipient, you
are hereby notified that you have received this message in error and that
any viewing, copying, disclosure, distribution, dissemination, forwarding,
printing or other use of this information is strictly prohibited and may be
subject to legal restriction or sanction.  Please notify the sender, by
electronic mail or telephone, of any unintended recipients and destroy all
copies of this message and the attachments (if any) without making any
copies thereof.

 



Re: Set value in a textfield

2013-04-11 Thread grignette
With Ajax. 

I found the method onEvent(IEvent event). I try to search with this for
delete my textfield.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Set-value-in-a-textfield-tp4657883p4657889.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: Busy Indicator to prevent user activity

2013-04-11 Thread saty
Thank you guys.
Yes, it was merely a matter of having correct CSS in place for the div, it
works great now.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657887.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: Set value in a textfield

2013-04-11 Thread Andrea Del Bene
How is implemented the popin  (via AJAX, using anchor attribute 
'target')?

Thanks for your ideas.

I don't want to use Model because I just want to recover one value.

I have a popin in my page. When I click on the link in the popin, the popin
is closed and I want to recover the value of the click. I haven't find how
to pass this value to my page. So I had this idea to update a textfield in
the page. This page must do action with this value after. Maybe Wicket
propose something for the communication between two pages. But I am just
novice in wicket.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Set-value-in-a-textfield-tp4657883p4657886.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: Set value in a textfield

2013-04-11 Thread grignette
Thanks for your ideas. 

I don't want to use Model because I just want to recover one value. 

I have a popin in my page. When I click on the link in the popin, the popin
is closed and I want to recover the value of the click. I haven't find how
to pass this value to my page. So I had this idea to update a textfield in
the page. This page must do action with this value after. Maybe Wicket
propose something for the communication between two pages. But I am just
novice in wicket. 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Set-value-in-a-textfield-tp4657883p4657886.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: Set value in a textfield

2013-04-11 Thread Marco Springer
Construct it with a string?

new TextField("markupId", Model.of("string"));
or
setModel(Model.of("string"));

Without a model, no clue.
Is there a specific reason why don't want to use a model?

Cheers

On Thursday 11 April 2013 04:57:04 grignette wrote:
> Hi !
> 
> Maybe it's an easy question with easy solution... But I don't find the
> solution !
> 
> Please, can you tell me how to set the value of the texfield without use
> models. Is it possible ?
> 
> Thanks for your help.
> 
> 
> 
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Set-value-in-a-textfield-tp46578
> 83.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: Set value in a textfield

2013-04-11 Thread Martin Grigorov
Hi,

Usually you should use a Model.
But since you want to avoid it for some reason then you can use JavaScript
that sets the value when the DOM is ready.


On Thu, Apr 11, 2013 at 2:57 PM, grignette  wrote:

> Hi !
>
> Maybe it's an easy question with easy solution... But I don't find the
> solution !
>
> Please, can you tell me how to set the value of the texfield without use
> models. Is it possible ?
>
> Thanks for your help.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Set-value-in-a-textfield-tp4657883.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
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


Set value in a textfield

2013-04-11 Thread grignette
Hi !

Maybe it's an easy question with easy solution... But I don't find the
solution !

Please, can you tell me how to set the value of the texfield without use
models. Is it possible ?

Thanks for your help.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Set-value-in-a-textfield-tp4657883.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: Busy Indicator to prevent user activity

2013-04-11 Thread Andrea Del Bene

You can take a look at the following project

https://github.com/bitstorm/Wicket-tutorial-examples/tree/master/CustomAjaxListenerExample

In this project you will find an Ajax listener that disables a given 
component while the AJAX request is running and it also displays an 
animated gif as activity indicator.

Following instructions works great however they do not address the problem of
preventing user from clicking anywhere until the request is processed.

https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html

I need the busy indicator / gif to layer the application so user may not be
able to click anywhere,  any thoughts on how to achieve this would be highly
appreciated.

Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877.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: IHeaderResponse serialization problem Wicket 6

2013-04-11 Thread datazuul
you were right:
I analyzed my dependency tree for visural-wicket and other
thirdparty-wicket-libraries and removed them.
after this, the problem disappeared.

Thank you!



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/IHeaderResponse-serialization-problem-Wicket-6-tp4657862p4657881.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