Re: Wicket merchandise

2013-09-19 Thread Raul
+1 Martin Grigorov



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-merchandise-tp4661378p4661390.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



Stateless pagination

2013-08-05 Thread Raul
Hello, anyone has done any component that is a stateless paginator, I read
this tutorial,
http://letsgetdugg.com/2009/05/27/wicket-stateless-pagination/, but it is
for wicket 1.4 and is a paginator very simple.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Stateless-pagination-tp4660697.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: The same URL to two different pages.

2013-08-04 Thread Raul
Not because in my platform, I have a hierarchy of inheritance, in which
stateful pages, inherited from a page, which displays the menu,
notifications, messaging, and stateless pages inherit from another with a
simple menu, the login etc..



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/The-same-URL-to-two-different-pages-tp4660672p4660676.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



Possible bug with AjaxButton and textarea.

2013-08-03 Thread Raul
Hi, I have a form with a textarea using CKEditor, I need to send the contents
of the textarea to the server.
When using a standard Button, content is submit correctly, but when
AjaxButton type, the data is not sent to the server. I tried to remove the
comportamient CKEditor, and AjaxButton if it works, someone expert can tell
me that may be happening.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Possible-bug-with-AjaxButton-and-textarea-tp4660669.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 AjaxButton and textarea CKeditor.

2013-08-03 Thread Raul

I've solved it myself, in case anyone finds it useful, pass the link where
is the solution

http://stackoverflow.com/questions/7657816/ckeditor-ajax-issue



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-AjaxButton-and-textarea-CKeditor-tp4660669p4660670.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



The same URL to two different pages.

2013-08-03 Thread Raul
Hi I need to have the same url to two different pages, one page must show
content to registered users, ie an internal page, the other page
stateless, should show the same content to guest users. The URL should be
the same for the two pages and charge one or the other depending on whether
the user has session or not. Is it possible to do this?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/The-same-URL-to-two-different-pages-tp4660672.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 loading dependency for wicket-6.8.0

2013-05-25 Thread Raul
Make sure you have downloaded the dependency correctly, ie that is in your
local repository that can decompress, ever happened to me that have been
downloaded jar with corrupted data. If so removes the corrupt jar to
download them again.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-loading-dependency-for-wicket-6-8-0-tp4659026p4659027.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



Problems when upgrading Jquery

2013-05-24 Thread Raul
Hello, I updated my application to use Jquery 1.9.1, for this I added the
following to the Init method of my application class.

JavaScriptResourceReference resource = new JavaScriptResourceReference(
MyApplication.class,
../../../assets/js/jquery-1.9.1.min.js);
getJavaScriptLibrarySettings().setJQueryReference(resource);

When it is updated, I have problems, for example AjaxLazyLoadPanel icon,
remains loading infinitely. Does anyone knows what could it be?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problems-when-upgrading-Jquery-tp4659019.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: JQuery contribution question

2013-05-23 Thread Raul
Hello, I also need to upgrade the version of jQuery to 1.9.1, I do it with
getJavaScriptLibrarySettings (). setJQueryReference (resource), but I have
some problems running this version with AjaxEventBehavior.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/JQuery-contribution-question-tp4658999p4659003.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: Possible bug with AjaxLazyLoadPanel

2013-05-16 Thread Raul
Michael Zhavzharov the way you've indicated, it works correctly.
Thank you.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Possible-bug-with-AjaxLazyLoadPanel-tp4658793p4658846.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: Possible bug with AjaxLazyLoadPanel

2013-05-15 Thread Raul
I know how it works, in my case the component is already loaded, and I can
access it, the problem is I have to access the internal components of the
AjaxLazyLoadPanel.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Possible-bug-with-AjaxLazyLoadPanel-tp4658793p4658817.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



Possible bug with AjaxLazyLoadPanel

2013-05-14 Thread Raul
Hello, I'm trying to get a component to update with Ajax from a AjaxLink, but
always returns null, the access component is as follows.

Component  current = this.getPage().get(commentsPanel).get (modalPanel);

Where commentsPanel is a AjaxLazyLoadPanel and modalPanel is of type
Panel, If commentsPanel I put Panel type, the component finds correctly,



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Possible-bug-with-AjaxLazyLoadPanel-tp4658793.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: Performance replace panel with AjaxLink.

2013-05-07 Thread Raul
Hello, in this project we are not using unit tests, and I can not add a
breakpoint, but I managed to narrow down the error. The call to the
constructor of the page disappears, commenting javascript call panel markup.





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Performance-replace-panel-with-AjaxLink-tp4658473p4658634.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



Error in the semantics of names. AjaxLazyLoadPanel.java

2013-05-07 Thread Raul

Error in the semantics of names. AjaxLazyLoadPanel.java
I saw a little mistake semantic,:, Class AjaxLazyLoadPanel, Wicket 6.7.0
/ **
* Called When the placeholder component is Replaced with the lazy loaded
one.
*
* @ Param target
* The Ajax request handler
* @ Param component
* The lazy loaded component.
* /
protected void onComponentLoaded (Component *target*, AjaxRequestTarget
*component*)
{
}



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-in-the-semantics-of-names-AjaxLazyLoadPanel-java-tp4658635.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



Performance replace panel with AjaxLink.

2013-05-02 Thread Raul
Hi, I have a problem to replace a panel with Ajax, I use a AjaxLink to
replace a panel on the other, as follows.

Component current = this.getParent();
current.replaceWith (editorPanel);
target.add (editorPanel);

The problem I have it because it makes a call undue page builder. Thing I do
not want to happen, first because it fails to receive the parameter that was
receiving that page and second because even if it worked,  would unduly
penalize performance.

Does anyone know why this call is made?

A greeting and thanks advanced.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Performance-replace-panel-with-AjaxLink-tp4658473.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: Performance replace panel with AjaxLink.

2013-05-02 Thread Raul
Let's see, I have a page that receives a parameter, and since I do a query
parameter to the database to load a panel, within that panel there is
another panel with a AjaxLink, that when you click I want to be replaced by
another panel, everything works fine, ie the panel is replaced, but in my
traces get a NullPointerException, ie when you update with Ajax, the
AjaxRequestTarget, makes a call to the constructor of the page. received
additional setting that always puts me is lib, regardless of the initially
received. The problem is that it makes a call to the constructor of the page
internally, I do not want it done. My question is why do it? and if you can
avoid it to.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Performance-replace-panel-with-AjaxLink-tp4658473p4658481.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: Performance replace panel with AjaxLink.

2013-05-02 Thread Raul
Indeed the page is not repainted, but its constructor is called, How to put a
breakpoint?.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Performance-replace-panel-with-AjaxLink-tp4658473p4658484.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: Datatable with Image in Cell

2013-04-24 Thread Raul
To create a table with data, you can use the DataView component and use a
DataProvider for loading data. In onPopulate method, you can create the
table rows dynamically. I recommend you to look at the examples of the free
guide.

http://code.google.com/p/wicket-guide/downloads/list



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Datatable-with-Image-in-Cell-tp4658204p4658252.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: Datatable with Image in Cell

2013-04-23 Thread Raul
Hi Antonio. For this you can use the Image component and the
ContextRelativeResource.

  if ( isaIcon() ) {
relativeResource = new ContextRelativeResource(
/images/a_icon.png);
} else {
relativeResource = new ContextRelativeResource(
/images/other_icon.png);
}
   add(new Image(tuId,
relativeResource));



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Datatable-with-Image-in-Cell-tp4658204p4658205.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: Update ListView with Ajax, performance.

2013-04-15 Thread Raul
Hi, vineetsemwal, I think I found a bug in the project developed, having
several QuickView, inside a ListView or DataView, errors occur. I recreated
the error in your project, simply. Within RowNavigationPage class, I added a
ListView with a list of three items and each item I have added the
QuickView. Seemore Pressing the first time works fine, but if you hit the
other QuickView see, does not display correctly.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657983.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: Update ListView with Ajax, performance.

2013-04-15 Thread Raul
Exactly the error occurs when you click on the above item, item affects the
bottom, but not vice versa.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657984.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: Update ListView with Ajax, performance.

2013-04-15 Thread Raul
Recreate the error is very simple, you just have to modify your example as
follows, in the labeling of RowsNavigatorPage.html add a div, so that it
looks like.
! -
Copyright 2012 Vineet Semwal

Licensed under the Apache License, Version 2.0 (the
quot;Licensequot;);
you may not use this file except in compliance With The License.
You may Obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

UNLESS required by applicable law or Agreed to in writing, software
distributed under the License is distributed on an quot;AS ISquot;
BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied Either.
See the License for the specific language Governing permissions and
Limitations under the License.
-
! DOCTYPE html
html xmlns:wicket=http://wicket.apache.org;
head style=margin-left:50px;
title Navigator Rows Example / title
Rows Navigation 
 displaying all items from 0-19 / h2
/ head
body style=margin-left: 50px; margin-top: 50px;
div wicket:id=listView
ul wicket:id=numbers
li wicket:id=number number = label wicket:id=display / label
/ li
/ ul
div wicket:id=navigator / div
/ div
/ body
/ html



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657988.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: Update ListView with Ajax, performance.

2013-04-15 Thread Raul
http://ul.to/847ee7uh

From his example I just changed the RowsNavigatorPage



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657989.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: Update ListView with Ajax, performance.

2013-04-15 Thread Raul
Thanks to you, I look forward to the update, a greeting.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657995.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: Update ListView with Ajax, performance.

2013-04-13 Thread Raul
QuickView The project looks great, but I want to try, why not stay at maven
central repository?. It is very cumbersome installation is proposed.
Https://github.com/vineetsemwal/quickview/wiki



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657958.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: Update ListView with Ajax, performance.

2013-04-13 Thread Raul
I tried the project and give you my congratulations, it's just what I need,
but it would be ideal that was included as an extension of the core wicket.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657961.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: Update ListView with Ajax, performance.

2013-04-13 Thread Raul
I think the functionality that gives your project is essential to many Web
projects, and in many companies there is a policy not to use third party
libraries that can not be maintained or updated in the future. I therefore
believe that the number of components official Wicket, should increase in
the future, for the framework to do its job better, which is to provide web
development



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657963.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-12 Thread Raul
I have asked in this forum because the problem I have when running Wicket
application, any of these examples made ​​with other frameworks, work
perfectly in Jboss,
https://github.com/Atmosphere/atmosphere/wiki/Getting-Started-with-the-samples
And on the second question, I mean, if you can give me a guide on how to use
the sample. Since we do not know how to use it.

PD.Sería useful to have a similar examples in Wicket because the wicketstuff
QuickStart is quite poor.

Thank you.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Atmosphere-problem-with-JBoss-7-1-tp4657907p4657919.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-12 Thread Raul
All libraries are included in the wicket application. The difference is
created in the web.xml. I have set the following parameter to false

init-param
param-name org.atmosphere.useNative / param-name
param-value true / param-value
/ Init-param
And to deploy the application log tells me that the Atmosphere is started,
but on entering the application, I still returns the 404, but now and does
not draw any trace. The content of my web.xml is being
servlet
description Atmospherefilter / description
servlet-name Atmospherefilter / servlet-name
servlet-class org.atmosphere.cpr.AtmosphereServlet / servlet-class
init-param
param-name org.atmosphere.filter / param-name
param-value org.apache.wicket.protocol.http.WicketFilter / param-value
/ Init-param
init-param
param-name applicationClassName / param-name
param-value com.myCompany.MyApplication / param-value
/ Init-param
init-param
param-name org.atmosphere.useWebSocket / param-name
param-value true / param-value
/ Init-param
init-param
param-name org.atmosphere.useNative / param-name
param-value false/ param-value
/ Init-param
init-param
param-name org.atmosphere.cpr.sessionSupport / param-name
param-value true / param-value
/ Init-param
init-param
param-name org.atmosphere.websocket.WebSocketProtocol / param-name
param-value org.atmosphere.websocket.protocol.EchoProtocol / param-value
/ Init-param
init-param
param-name org.atmosphere.cpr.broadcastFilterClasses / param-name
param-value org.apache.wicket.atmosphere.TrackMessageSizeFilter /
param-value
/ Init-param
init-param
param-name filterMappingUrlPattern / param-name
param-value / * / param-value
/ Init-param

load-on-startup 0 / load-on-startup
/ Servlet

servlet-mapping
servlet-name Atmospherefilter / servlet-name
url-pattern / * / url-pattern
/ Servlet-mapping

And the web.xml before using Atmosphere, (which worked fine). was this.

filter
filter-name wicket.netwie / filter-name
filter-class org.apache.wicket.protocol.http.WicketFilter / filter-class
init-param
param-name applicationClassName / param-name
param-value com.myCompany.MyApplication / param-value
/ Init-param
/ Filter
filter-mapping
filter-name wicket.netwie / filter-name
url-pattern / * / url-pattern
/ Filter-mapping
session-config
session-timeout 30 / session-timeout
/ Session-config

With the new web.xml, although always displays the context returns 404.



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



Update ListView with Ajax, performance.

2013-04-12 Thread Raul
Hello, I need to implement a component that can display a list of users from
a ListView, at the end of the list you should see a link to see more
users. What I need is to update the list of users displayed but without
rendering at all in ListView again. Because right now I use a AjaxLink that
updates the entire ListView container, but when many users are penalized
performance and gives a sense of slowness. Anyone know if you can implement
some of this functionality with wicket.





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948.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: Update ListView with Ajax, performance.

2013-04-12 Thread Raul
Nick, I sensed that the solution was going to use Javascript, my question was
if there was any easier than the framework could provide. Select2 prove.

Alexy single client solution does not help me as I have a large volume of
data.

Regards and thanks for the guidance.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657951.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



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



DropDownMenu with AjaxLink

2013-04-04 Thread Raul
Hello, I need to dynamically load a dropdown menu, I use bootstrap natively,
but by combining AjaxLink with the link, which contains data-toggle =
dropdown menu does not display, the link must display a menu with
notifications, but these should be loaded so lazy to click. The html is as
follows. Does anyone know how to solve this problem?.

Thanks in advance.

ul class=nav pull-right
li class=dropdown  # / /  sup wicket:id=numNotifications
class=badge badge-success25/sup   

div class=dropdown-menu style=width: 425px
div wicket:id=lazyPanel/div
hr
div class=labelAllNotifications
 / # /nbsp;See all notifications 
/div
/div/li/ul



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownMenu-with-AjaxLink-tp4657759.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: DropDownMenu with AjaxLink

2013-04-04 Thread Raul
I found this solution, but if someone thinks another more elegant ...

linkNotifications = new AjaxLink(linkNotifications) {
@Override
public void onClick(AjaxRequestTarget target) {
target.appendJavaScript($('# + 
this.getMarkupId()
+ ').dropdown(););

}
};



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DropDownMenu-with-AjaxLink-tp4657759p4657763.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 ClientProperties

2013-02-07 Thread Raul
Hi, I need to keep the browser name and version, using it my clients, but
some ClientProperties class methods return null, I use wicket 6.5.0. Does
anyone knows what could it be?


PD, properties.isBrowserMozilla method (), it works correctly.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-ClientProperties-tp4656153.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 ClientProperties

2013-02-07 Thread Raul

II tried with the sample code and the output of the toString
ClientProperties is this.

browserInternetExplorer=false
13:12:22,532 ERROR [stderr] (http--127.0.0.1-8080-1) browserKonqueror=false
13:12:22,534 ERROR [stderr] (http--127.0.0.1-8080-1) browserMozilla=true
13:12:22,535 ERROR [stderr] (http--127.0.0.1-8080-1)
browserMozillaFirefox=true
13:12:22,536 ERROR [stderr] (http--127.0.0.1-8080-1) browserOpera=false
13:12:22,537 ERROR [stderr] (http--127.0.0.1-8080-1) browserSafari=false
13:12:22,539 ERROR [stderr] (http--127.0.0.1-8080-1) browserChrome=false
13:12:22,540 ERROR [stderr] (http--127.0.0.1-8080-1) browserVersionMajor=18
13:12:22,541 ERROR [stderr] (http--127.0.0.1-8080-1) browserVersionMinor=0
13:12:22,542 ERROR [stderr] (http--127.0.0.1-8080-1) cookiesEnabled=false
13:12:22,543 ERROR [stderr] (http--127.0.0.1-8080-1) javaEnabled=false
13:12:22,544 ERROR [stderr] (http--127.0.0.1-8080-1)
proprietaryIECssExpressionsSupported=false
13:12:22,545 ERROR [stderr] (http--127.0.0.1-8080-1)
proprietaryIEPngAlphaFilterRequired=false
13:12:22,547 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkCssBackgroundAttachmentUseFixed=false
13:12:22,549 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkCssBorderCollapseFor0Padding=false
13:12:22,551 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkCssBorderCollapseInside=false
13:12:22,552 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkCssPositioningOneSideOnly=false
13:12:22,554 ERROR [stderr] (http--127.0.0.1-8080-1) quirkIERepaint=false
13:12:22,555 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkIESelectListDomUpdate=false
13:12:22,556 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkIESelectPercentWidth=false
13:12:22,557 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkIESelectZIndex=false
13:12:22,558 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkIETablePercentWidthScrollbarError=false
13:12:22,560 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkIETextareaNewlineObliteration=false
13:12:22,561 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkMozillaPerformanceLargeDomRemove=true
13:12:22,562 ERROR [stderr] (http--127.0.0.1-8080-1)
quirkMozillaTextInputRepaint=true
13:12:22,563 ERROR [stderr] (http--127.0.0.1-8080-1) remoteAddress=127.0.0.1



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-ClientProperties-tp4656153p4656157.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



ThreadContext.getSession(); return null in wicket 6.5.0

2013-01-24 Thread Raul

Hi, in my application I use ThreadContext.getSession () to get the session,
and works well in wicket 6.4.0, upgrade to 6.5.0 but returns null, what is
due?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ThreadContext-getSession-return-null-in-wicket-6-5-0-tp4655741.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 RuntimeConfigurationType.DEPLOYMENT.

2013-01-23 Thread Raul
Hello, I have a problem and Deployment Mode is that some of my templates are
not working properly, I use AjaxFormComponentUpdatingBehavior specifically
to hide or show some components of templates. I have succeeded recreate the
development mode error, adding the application init, this line.
getMarkupSettings (). setStripWicketTags (true);
In this case the debug ajax returns that can not find the component.
Note.I use the setOutpuMarkupId (true), and also correctly in development
mode without the line, it works fine, I use wicket 6.5.0 




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-RuntimeConfigurationType-DEPLOYMENT-tp4655679.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 RuntimeConfigurationType.DEPLOYMENT.

2013-01-23 Thread Raul
Was using wicket:container/ using div has fixed the problem. Thank you.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-RuntimeConfigurationType-DEPLOYMENT-tp4655679p4655681.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: Autocomplete for mentions how to use Twitter

2012-12-21 Thread Raul
Hello, I have the same problem as Alpiske, does anyone have any idea how to
do this?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Autocomplete-for-mentions-how-to-use-Twitter-tp4654876p4654999.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: Model is null after submit, using FormComponentPanel

2012-12-07 Thread Raul

Here is the example to prove it's package it and deploy it in an application
server.

http://ul.to/ymfabds0



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654586.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: Model is null after submit, using FormComponentPanel

2012-12-07 Thread Raul
Thanks, your suggestion solved my problem. Greetings from Spain.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654594.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: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Raul
Thanks for the reply, I tried to use the component on the form with the
object
CompoundPropertyModel. As follows,

ccc = new CustomerAccountCode(ccc, 
new CompoundPropertyModelAccount(new Account(config.getCcc(;
form.add(ccc);

But this does the same as before, ie load correctly displayed data, but when
you throw the onSubmit form, the model
the ccc.getModelObject() still returns null. 

//New implementation
public class CustomerAccountCode extends
FormComponentPanelAccount {

private FormComponentString entity;
private FormComponentString office;
private FormComponentString dc;
private FormComponentString number;

public CustomerAccountCode(String id, CompoundPropertyModelAccount 
model)
{
super(id, model);

entity = new TextFieldString(entity);
office = new TextFieldString(office);
dc = new TextFieldString(dc);
number = new TextFieldString(number);

AttributeModifier attEntity = new AttributeModifier(name, 
entity);
AttributeModifier attOffice = new AttributeModifier(name, 
office);
AttributeModifier attDc = new AttributeModifier(name, dc);
AttributeModifier attNumber = new AttributeModifier(name, 
number);
add(entity.add(attEntity));
add(office.add(attOffice));
add(dc.add(attDc));
add(number.add(attNumber));
//  add(CustomerAccountCodeValidator.getInstance());

}

@Override
public Component add(final Behavior... behaviors) {
entity.add(behaviors);
office.add(behaviors);
dc.add(behaviors);
number.add(behaviors);
return this;
}
}



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654545.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: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Raul
I've tried to override FormComponentPanel#convertInput (),  but in the
execution of this, both the method TextField#getConvertedInput () and
TextField#getModelObject () return null. By the way I'm using Wicket 6.3



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654557.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: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Raul
I created a quickstart, Where I can upload it for what you may see?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654566.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: Model is null after submit, using FormComponentPanel

2012-12-04 Thread Raul
I tried to use CompoundPropertyModel Account in CustomerAccountCode object
constructor, and similarly



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654490.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



Model is null after submit, using FormComponentPanel

2012-12-03 Thread Raul
Hello, I want to create a reusable component for use as part of a form, for
this class use FormComponentPanel,
As the following article.

https://cwiki.apache.org/WICKET/creating-custom-formcomponentpanels-to-build-valid-objects-using-wickets-form-validation-logic.html

My problem is that when I submit the internal components (TextFields),
updated its model to null, instead of updating the model with the entered
string, the method mytextfield.getConvertedInput () returns null during the
call to UpdateModel (). Does anyone know what might be happening?.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441.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



Twitter boostrap

2012-12-01 Thread Raul
Hello, I want to integrate Wicket-Bootstrap in my application, anyone can
tell me what steps should I follow?. Should I integrate twitter bootstrap on
my own or through an existing project?.

Thank you.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Twitter-boostrap-tp4654406.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Wicket and file upload with blueimp jquery file upload

2012-11-16 Thread Raul

I solved the problems I had, modifying the main.js file of the demo, as
follows.

$(function () {
'use strict';

$('#${componentMarkupId}').fileupload({
url: '${url}',
paramName: '${paramName}',
singleFileUploads: true,
maxFileSize: 500,
acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
process: [
{
action: 'load',
fileTypes: /^image\/(gif|jpeg|png)$/,
maxFileSize: 2000 // 20MB
},
{
action: 'resize',
maxWidth: 1440,
maxHeight: 900
},
{
action: 'save'
}
]
});
});




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-file-upload-with-blueimp-jquery-file-upload-tp4653007p4653938.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Wicket and file upload with blueimp jquery file upload

2012-11-15 Thread Raul
Thanks for the demo, everything works fine except for some problems I've
found in the configuration, for example, the demo comes with the option
(previewSourceFileTypes: / ^ image \ / (gif | jpeg | png) $ /,). But really
allow to upload all types of files.

On the other hand (and this is important to me), when I upload multiple
files at once, only shows the bar and the buttons for the first file. And
should display them at all.





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-file-upload-with-blueimp-jquery-file-upload-tp4653007p4653903.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



Resources only for session

2012-11-05 Thread Raul
I have a question, Is it possible that resources (example
DynamicImageResource) will  not recorded and only available as long as the
session is active.

This is necessary because the user need to show images uploaded by the same
and are not available to other users. Besides the amount of images is very
large adn it's pointless to keep all as resources.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Resources-only-for-session-tp4653617.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: Resources only for session

2012-11-05 Thread Raul
Thank Ernesto, I already knew the article. My problem is that I am using a
ResourceLink as follows.


ResourceReference imagesResourceReference = new ImageResourceReference(
ImageUtil.getNamePhotoForURL(user.getId(), 
album.getId(),
photo.getId(), 
ImageUtil.SCALE_ORIGINAL),pathOriginalImage);

ResourceLink resourceLink = new
ResourceLink(linkPhoto,imagesResourceReference);

But this I generated a security problema, because the href generated is
accesible from 
all session, I also believe that a bad performance generates and maintains
resources that will 
not be used.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Resources-only-for-session-tp4653617p4653620.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