I was looking for more approaches for Facebook login and someone told me
about this https://github.com/wicketstuff/core/wiki/Facebook. Has anyone
tried out that API? I am really looking for a good solution for integrating
wicket app with Facebook. Please tell me the available approaches.
--
Yes...actually there is something that I
found...https://cwiki.apache.org/WICKET/adding-facebook-connect-via-javascript-sdk.html.
It is using restFB.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Regarding-Facebook-login-API-in-wicket-1-5-tp4656656p4656718.html
Thank you very much for the approach. With your suggestions and
http://javajing.com/2012/12/12/scribe-facebook-oauth.html, I am able to make
out facebook login :)
--
View this message in context:
No..actually that was causing some issues. So I followed your suggestions
like I posted. One thing I would like to ask is in Scribe, how to get
specific Facebook information like name or first name. getBody gives entire
information. Do I need to parse that or there is any shortcut?
--
View this
Hi,
I am trying to implement Facebook connect in my application as given in
https://cwiki.apache.org/WICKET/adding-facebook-connect.html. I have copied
the same code in my application but when hosted, I am not able to see
facebook login UI in the application. I have not registered the application
Hi,
I am trying to run wicket app using the command mvn jetty:run but I am
getting the error
*java.lang.NoClassDefFoundError:
org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow$WindowClosedCallback*
Now I this may be because it is not able to find all dependencies present in
lib
Hi,
I am trying to use Jetty 6 in wicket application as it is the requirement as
per jelastic hosting. They supports jetty 6. So, I was going through the
link https://cwiki.apache.org/WICKET/jetty6-testing.html
https://cwiki.apache.org/WICKET/jetty6-testing.html . I downloaded jetty
6.1.23 jar
Hi,
I have a wicket application running fine using Jetty server. But I need to
deploy the application in tomcat server. As tomcat is not able to find
appropiate resources, how to configure my application to make it compatible
for tomcat?
--
View this message in context:
Hi,
I am trying to implement multiple select drop down in Wicket. I am able to
create multi select drop down view using bootstrap but I am not able to get
how to relate selected options with IModel of drop down component? Is there
any possibility in Wicket?
--
View this message in context:
Hi,
I am facing a problem in refreshing a panel. The requirement is I have a
panel A which has Panel B. Panel A carries list of LDM which is being passed
to Panel B.
public class PanelA {
private LoadableDetachableModelListlt;PostDomain
*detachablePostDomainList *= new
The problem is now even more complicated as PanelA is not getting refreshed
from PanelB at once. But when I do some operation in PanelB again, PanelA is
then refreshed...
Here is PanelB:
Public class PanelB{
public PanelB(PanelA panelA) {
PostDeleteButtonPanel postDeleteButtonPanel = new
Hey...that workedbut still I didn't understand how it worked. I am not
calling detach method in ajaxPostSubmitButton of PanelA. So how come it is
getting refreshed. I am just trying to understand the concept
--
View this message in context:
Hi
Can anyone tell me how to make a link open in new tab which is part of a
label like a paragraph? I cant usetags so how would I make sure that
links which are part of that label open in new tab?
--
View this message in context:
Hi,
Thanks for the reply. I knew about target attribute abut was not able to
figure out how to use it for links which are part of a paragraph. But it
just clicked my mind to add it after reading your response...:) :
text.replaceAll((\\A|\\s)((http|https|ftp|mailto):\\S+)(\\s|\\z), $1
\$2\
Hi,
Sorry for replying late ..:(...I am using wicket 1.5. I dont know what
causing this issue...but I am looking for other way around to solve my
purpose...
--
View this message in context:
Hi,
I am trying to implement dataview:
final IDataProviderPostDomain postDomainDataProvider = new
IDataProviderPostDomain() {
/**
*
*/
private static final long
Hi,
For a web page, what sort of variables are stored in page map to hold its
state when user moved from that page to another? Like class variables, final
variables would be getting saved. Other than those, if we define a variable
or any component in its constructor, what happens to such
Hi,
Thanks for the quick reply. So that means whatever we define for a page will
get serialized and stored in page map.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/What-sort-of-page-variables-are-stored-in-page-map-tp4651460p4651462.html
Sent from the Users
Hi,
Please help me out here. In my web app, I have to show a list of data.
Previously I was using simple arraylist in listview. To deal with any memory
concern in future, I moved from arraylist to loadabledetachablemodal list.
But now, in any operation like delete, update etc, whole list is being
Hi,
Thanks for the reply. I am trying t achieve what you suggested me. But one
thing I want to ask. In listDataProvider, you will anyway provide list of
data to get rendered. You may render it in any manner but that list will be
stored as final or class variable. Wont that take up the session ? I
Hi,
Thank you for clarifying me. Removing the reference can help me out. Let me
try it :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Should-I-really-go-for-LoadableDetachableModel-tp4651353p4651359.html
Sent from the Users forum mailing list archive at
Solved...actually IE cannot read onSubmit action. So, I used onkeydown as
stated in
http://apache-wicket.1842946.n4.nabble.com/TextField-submit-via-Ajax-td3002094.html
That will solve the problem..:)
--
View this message in context:
Hi,
I want to position a modal window in the center of the current viewable
window rather than whole one. For that I need to use customized modal.js as
I have read in wicket forum. Now, in modal.js
Hi,
I have a simple code which is running fine in chrome...
// defining text field for user to search
* final RequiredTextFieldString searchTextField = new
RequiredTextFieldString(
search);
searchTextField.add(new
Hi,
I am simply displaying a captcha image which is suppose to refresh on
hitting a button:
* final String captchaValue = generateRandomString(30);
final NonCachingImage image = new NonCachingImage(image,
new
Solved...actually my mistake...I was refreshing the image in onError
section...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Image-is-not-getting-ajax-refreshed-in-wicket-1-5-tp4651053p4651056.html
Sent from the Users forum mailing list archive at Nabble.com.
OkkI think for large user base, I should go for stateless pages. But the
problem is that my app is entirely ajax based. So, how would I use ajax
behavior for stateless components. As far as I have read, ajax requires
components to be stateful
Actually I am planning to host the app in Google application engine. One
thing I am not able to understand, getStatelessHint() if applied in the
constructor of a page should return whether that page is stateless or not.
So, in my page which is full of ajax and statefull components, why it is
Ya..that worked...and for each component...I think statelessChecker is there.
But I am not able to figure out how to use it for a component? I read you
post
http://apache-wicket.1842946.n4.nabble.com/Why-is-stateless-from-making-my-page-stateful-td3662059.html
hi,
Is there any stateless ajax paging navigator like staeless ajax form or
links? I am not able to find any related component in internet...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Stateless-ajaxPagingNavigator-tp4650994.html
Sent from the Users forum
Thanks Paul...I was wondering though..is there any way to do without Spring?
I mean why to go for Spring just for one component...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Editing-list-in-Dataview-tp4650885p4650995.html
Sent from the Users forum mailing list
Hi,
As we all know that wicket provides great component to develop complex web
applications. But being stateful, one may have to think about session
consumption. So, what I was thinking if states of different pages are stored
in session, can we clear our page maps for every new page request? Will
Hi,
I need some suggestions. In my wicket application (in development phase), I
have used normal forms and links. While going through the concept of
stateless pages and forms, I am confused about converting the forms and
components to stateless. Will it really minimize session usage in the
Thanks for the links. One thing that I want to ask that do yo think we should
use LoadableDetachable models to minimize session usage? Like for every
thing examples labels, links, dropdowns, etc.
--
View this message in context:
Hi,
Actually the scene is different here. Page2 is child of Page3. The hierarchy
is:
Page3
Page2
Page1
So, I have modified Page2 as:
!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.0
Strict//ENquot;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtdquot;
html
Hi,
Right now I am using listview but I am considering to look after dataview
where data is fetched from database everytime you change page. So, do we
have to modify our query to get the required data to be displayed in the
page? I mean right now I am retrieving all data from database.
Also,
Please help me out here...for a child page..how would I add javascript in its
head. I have tried out wicket:head with head tag in base page but it is not
working out...
--
View this message in context:
So, if put JS in page3, why it is not working? After all, it is the root
one...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650866.html
Sent from the Users forum mailing list
OkkI was thinking this as a possibility..thanks for clarifying my
doubt...:)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650869.html
Sent from the Users forum mailing list
hi,
Sorry to disturb you again but I am trying out this code but it is not
working:
*Page1:*
!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.0
Strict//ENquot;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtdquot;
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
Nothat appeared as a replacement of in the forum...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650873.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
I am trying to delete 2 cookies by using the code:
*Cookie emailIdCookie = ((WebRequest)
getRequestCycle()
.getRequest()).getCookie(emailId);
Cookie passwordCookie =
Thnx..:) It is working now...we need to set path then...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Cookies-not-getting-deleted-tp4650876p4650880.html
Sent from the Users forum mailing list archive at Nabble.com.
You can write the code in a separate method and call that method from A and
B...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Which-is-the-best-way-to-manage-the-visibility-of-a-component-tp4650853p4650854.html
Sent from the Users forum mailing list archive at
Hi,
Can anyone recommend me a good captcha example for wicket. I have tried out
the one given in library
http://www.wicket-library.com/wicket-examples/captcha/?0
http://www.wicket-library.com/wicket-examples/captcha/?0 but it is throwing
the error:
*Couldn't resolve model type of
Thank you...I will try that out...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-captcha-example-tp4650531p4650533.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
Thanks a lot...that worked...:)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/setOutputMarkupPlaceholderTag-not-working-to-render-panel-with-setvisible-false-tp4650313p4650319.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
I am using a panel with setVisible false on a condition. But it is not
getting rendered when its visibility becomes true. Here is the code :
*final ShowCommentPanel showCommentPanel = new ShowCommentPanel(
showCommentPanel, postDomain, userDomain, 3);
Hi,
I have already tried that out...its in the code..:
*owCommentPanel.setOutputMarkupPlaceholderTag(true); *
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/setOutputMarkupPlaceholderTag-not-working-to-render-panel-with-setvisible-false-tp4650313p4650315.html
Sent
Actually I am using listview because I do want to query database every time I
change page of pageable listview. How would I use IModel in
pageableListview?
--
View this message in context:
Ok..thanks for helping me out Dan...:)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Components-do-not-re-render-when-page-is-refreshed-tp4650290p4650311.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
In my wicket application, each page carries many panels. *Now every panel is
rendered when the page is loaded but when it is refreshed, nothing happens.
* No panel is getting rendered again, not even sysouts are printing
anything. *Now this is a good thing for performance but I want them to
://localhost:8080/Page/, rendering happens
again. Why is this happening?
scott.swank wrote
How do you construct your panels? This sounds like a model issue...
Scott
On Fri, Jun 29, 2012 at 9:02 AM, kshitiz lt;k.agarwal4@gt; wrote:
Hi,
In my wicket application, each
Hi,
Thanks for the reply. Just to clarify, like if I am adding a panel:
*add(new PostPanel(postPanel, pageParameters, userTypeDomain,
userDomain));*
So, how do I make it render at every page refresh...?
--
View this message in context:
I am using list only like this:
PageableListViewPostDomain postDomainListView = new
PageableListViewPostDomain(
postList, *postDomainList*, postsPerPage) {
// .
}
How am I suppose to use IModel for list? It is giving errors over here...
--
View this
Please help me out hereis there any silly mistake that I am making?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Ajax-refresh-component-with-initial-setVisible-false-tp4650171p4650205.html
Sent from the Users forum mailing list archive at Nabble.com.
This is my submitCommentPanel:
public SubmitCommentPanel(String id, final PostDomain postDomain,
final UserDomain userDomain) {
super(id);
this.setOutputMarkupId(true);
AjaxFallbackButton ajaxCommentSubmitButton = new AjaxFallbackButton(
Hi,
I have a panel with ajax button (i.e. form) inside it. When I submit the
form, not all of the components of that panel are being refreshed. Here is
the code:
public ShowCommentPanel(final String id,
final ListCommentDomain commentDomainList,
Hi,
I have tried out this:
*Integer numberOfComments = commentDomainList.size();
Label numberOfCommentLabel = new Label(numberOfCommentLabel,
new ModelInteger(numberOfComments));*
But again nothing happens..I think the above statement is
Solved itactually I have to use property model and in that I have to use
a domain model carrying a property for showing number of comments...
*Label numberOfCommentLabel = new Label(numberOfCommentLabel,
new PropertyModel(postDomain,
numberOfComments));*
Hi,
How to ajax refresh components which are initially setvisible to false but
later set to true. I know when it is false, then its mark up is not created
in DOM. I have tried like
**ajaxPagingNavigator.setOutputMarkupPlaceholderTag(true);**
here, ajaxPagingNavigator is component. *But it is
Hi,
I have added the whole panel in which that navigator is present.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Ajax-refresh-component-with-initial-setVisible-false-tp4650171p4650180.html
Sent from the Users forum mailing list archive at Nabble.com.
It is working Thank you very much for your continuous help
As I compared mine with urs...what I was doing wrong in initializing
resultPanel...Instead of :
final SearchResultPanel searchResultPanel = new SearchResultPanel(
searchResultPanel,
Please help me I am really not able to understand why it is
happeningThe form is really simple now:
public Search(final PageParameters pageParameters) {
super(pageParameters);
FormSearchDomain searchForm = new
FormSearchDomain(searchForm,
This is the new code now:
public class Search extends WebPage {
public Search(final PageParameters pageParameters) {
super(pageParameters);
final SearchDomain searchDomain = new SearchDomain();
*FormSearchDomain searchForm = new FormSearchDomain(searchForm,
Did u mean this:
final SearchResultPanel searchResultPanel = new
SearchResultPanel(searchResultPanel,
searchDomain, error, searchContainer);
* searchResultPanel.setOutputMarkupId(true);*
AjaxFallbackButton ajaxSearchButton = new
I have tried that out...*no luck till now...:(*
Just for the info..what I am doing is that a search form is there which is
populating result in domain object. I am passing that object in
searchResultPanel to get displayed. Now, *form and panel...both are part of
a container.* I want to
Do you mean creating wicket maven project ? If that is the case, please refer
to this link:
https://cwiki.apache.org/WICKET/windows-guide-to-installing-wicket-on-eclipse-with-maven.html
https://cwiki.apache.org/WICKET/windows-guide-to-installing-wicket-on-eclipse-with-maven.html
--
View this
*u are right...it is entering onBeforeRender method but it is not going in
the panel portion. As far as debug part is concern...I dont see any error:*
INFO:
?xml version=1.0 encoding=UTF-8?ajax-responseheader-contribution
encoding=wicket1 /header-contributioncomponent id=id9c
/componentcomponent
Hi,
I have removed almost everything...resultPanel contains only sysout:
public class SearchResultPanel extends BasePanel {
private static int temp = 0;
@Override
protected void onBeforeRender() {
super.onBeforeRender();
Hi,
After I log in that application, I am not suppose to see login page of the
app when I press back button. Though I am not able to go to login url as I
am checking user session in login page and redirects him to home page if the
session is present. But, when back button is pressed, that logic
Hi,
I am trying to refresh ajax container after firing an event. The code is:
*final WebMarkupContainer searchContainer = new WebMarkupContainer(
searchContainer);
searchContainer.setOutputMarkupId(true);*
AjaxFallbackButton ajaxSearchButton =
Hi,
I want to remove login page from browser cache after user logs in. I am
using the code :
protected void setHeaders(WebResponse response) {
*response.setHeader(Pragma, no-cache);
response.setHeader(Expires, 0);
response.setHeader(Cache-Control,
I have never tried out that beforeI have enabled debug mode but I to
debug the ajax part? Can you please tell me ??
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Ajax-refresh-not-working-in-a-case-while-working-in-similar-other-cases-tp4649794p4649797.html
Sent
I got the problem atleast...what is happening that it is using the same
search object (where results are being stored and then displayed in
container) and not creating the new one for new searches. Actually what I
want is when user searches anything, the results are refreshed only. I am
storing
Okk...actually when I analysed more, what I found is that when I enter new
value in text field, the event takes the old value only. Even I am now
refreshing the form too. Then I found that the field sets its value to old
one after getting refreshed. My field is of final type. But that should not
Hi,
My code to check user session is:
if (UserSession.get().checkUserSession()) {
// redirecting user to home page
setResponsePage(Home.class, new
PageParameters());
}
* UserSession is*
public class
I used the same logic in onBeforeRender and it is working...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Re-Back-button-is-troubling-session-management-tp4649801p4649805.html
Sent from the Users forum mailing list archive at Nabble.com.
I am able to solve this field related problem...just container is not getting
refreshed...
here is the code, I have modified a bit as per requirement:
public Search(String id) {
searchContainer.add(searchForm);
searchContainer.add(new SearchResultPanel(searchResultPanel,
okk..so if ajaxbutton is part of every item of a listview, how can I refresh
that view by pressing that button.I am asking because you will not able to
add that listview as target in the button as it would not be completely
defined by then.
--
View this message in context:
Hi,
Is there any way to refresh listview from inside? Like if every of its item
has ajaxlink or ajaxbutton, can the whole view be refreshed from that ajax
button? I am not able to find any way in internet regarding this issue...
--
View this message in context:
Thnx...that did it...:)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/any-way-to-refresh-listview-from-inside-tp4649684p4649687.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Hi,
Can anyone give me a a link for learning google like pagination in wicket. I
am not able to find one. All I see is to add PageNavigator in java class.
But how to modify html markup page?
--
View this message in context:
Yes...u r rightit is working in the same manner only...:)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Refresh-listItem-only-of-listView-tp4649676p4649694.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
I have a scenario like this:
ListViewUserTypeDomain userTypeDomainListView = new
ListViewUserTypeDomain(
userType, userTypeDomainList) {
protected void populateItem(final
ListItemUserTypeDomain listItem) {
Hi,
Yes...actually userTypeDomainList is a list of domain objects. I am creating
view from this list, where each item of the view has saveral components.
Now, on updating a component, i want to update its respective item, rather
than whole listview. Do I need to put that item in a container to
Please help me out here...I dont want to use javascript to get user
confirmation...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Problem-in-adding-user-confirmation-feature-by-wicket-way-tp4649510p4649523.html
Sent from the Users forum mailing list archive at
I removed the error by modifying the code:
protected void onConfirm() {
PostService postService = new PostService();
I did...actually this is the code:
public SubmitCommentPanel(String id, final ListItemPostDomain listItem,
final UserDomain userDomain) {
super(id);
// defining container for refreshing list of posts
* final
Thank you very much for the reply...you have solved it...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Need-help-in-implementing-Ajax-form-tp4632760p4642518.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
I am trying to learn Ajax in Wicket and implement it in my project. I am
trying to use AjaxFallbackButton but there is something I am missing. Here
is my code:
StatelessFormUserDomain loginForm = new StatelessFormUserDomain(
loginForm, new
Thanks all for the reply...actually I haven't looked into the hardware as I
am in middle of application development. Just going through various forums,
people were recommending Wicket for dekstop apps as it is statefull
framework. But as I can see various Wicket websites with high traffic, I
think
I read that out...sorry I missed that while coding. Thanks for the help..:)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Unusual-problem-is-coming-in-rendering-component-tp4604163p4607651.html
Sent from the Users forum mailing list archive at Nabble.com.
Thank you very much for the repliesI got the problem and solved it using
the code:
*final RequiredTextFieldString postTextField = new
RequiredTextFieldString(
postTextField,
Model.of(postDomain.getPost()));
*
But please tell me one thing...the first parameter
Thanks for the reply Dan...now consider a situation:
You have 5 drop downs, each with onselectionchange enabled. When you change
the choice of any one drop down, the chosen value should be passed as
parameter to that drop down only, so that it will display new value. Rest
drop downs should not
Thanks all for the reply, You were right...I did the change and it worked.
And also, SelectOption is not wicket one but a class created by me only:
package WalknShine;
import java.io.Serializable;
public class SelectOption implements Serializable{
/**
*
*/
Your guess is rightthank you for the help
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-cannot-find-id-in-inner-enclosure-but-has-no-problem-in-outer-one-tp4559666p4568555.html
Sent from the Users forum mailing list archive at Nabble.com.
I have removed inner enclosure and its working fine. I am facing another
problem. This is my code:
ChoiceRendererSelectOption choiceRenderer = new
ChoiceRendererSelectOption(value, key);
SelectOption selectedOption = new
SelectOption(selectOption[0].getKey(), Selected Value);
Hi, can anyone tell me any other alternative of enclosure if the above
problem cant be bugged out??
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-cannot-find-id-in-inner-enclosure-but-has-no-problem-in-outer-one-tp4559666p4562050.html
Sent from the Users
Hi,
I have two enclosure with one closing another one like this:
*wicket:enclosure child=userType
table
*tr
td/td
/tr
*wicket:enclosure child=post
*
1 - 100 of 113 matches
Mail list logo