Re: Override BrowserInfoPage

2012-09-01 Thread labano10
Facing the same trouble. How did you do it? Did you just create
BrowserInfoPage.java and it's markup file? Or where did you override it?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Override-BrowserInfoPage-tp4499400p4651685.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: facebook like iframe in wicket

2011-05-23 Thread labano10
What is the best way of replacing the href part with the url of the story
page every time I launch it (in wicket)?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/facebook-like-iframe-in-wicket-tp3540423p3545002.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: facebook like iframe in wicket

2011-05-23 Thread labano10



I tried something like that but faced "Error using VM library :
VM_global_library.vm" and got stuck. I am new to velocity but I feel it can
provide the answer to my problem.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/facebook-like-iframe-in-wicket-tp3540423p3544934.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: facebook like iframe in wicket

2011-05-23 Thread labano10
@Igor, my main problem actually is updating the src attribute of the iframe
at run time because that's what facebook uses to construct the like button.
The href part(within src) constitutes of the url of the page being liked
with escapes(%3A for : and %2F for /). I want to update especially this part
at run time. How do I do it in wicket. I am currently checking out the
wicket velocity see if it can help. Do you have any other idea, sorry I may
not have been clear initially. 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/facebook-like-iframe-in-wicket-tp3540423p3544892.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



facebook like iframe in wicket

2011-05-21 Thread labano10
I  want to incorporate the facebook like button in my wicket application 
page. The page is a story page which displays different stories based on
what story the user clicked on in the previous page. Basically, the page is
rendered with one story every time. Based on the facebook implementation of
the like button:

http://www.facebook.com/plugins/like.php?app_id=219924774692113&href=http%3A%2F%2Fapps.facebook.com%2Fmyappname%2F%3Fref%3Dbookmarks&send=true&layout=standard&width=450&show_faces=true&action=like&colorscheme=light&font=verdana&height=80";
scrolling="no" frameborder="0"
style="border: none; overflow: hidden; width: 450px; height: 80px;
allowTransparency="true">


How do I go about making each like mapped to each of the stories??

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/facebook-like-iframe-in-wicket-tp3540423p3540423.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: Serializing restfb DefaultFacebookclient in a wicket facebook application

2011-05-16 Thread labano10
@Sebastian, I actually used the part "you
could also consider creating a new fbclient whenever you need one".  I am
using Guice but could not use request-scoped provider because the authToken
string which is needed in constructing fbClient is gotten from
pageparameters(for my case AppPage Parameters), so passing it to a provider
was tricky. 

I am happy it works, I just used methods within AppPage class which
construct and return restfb objects which means they r not part of page
state hence no serialization needed.

Thanks soo much.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Serializing-restfb-DefaultFacebookclient-in-a-wicket-facebook-application-tp3524700p3525647.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: Serializing restfb DefaultFacebookclient in a wicket facebook application

2011-05-15 Thread labano10
@Sebastian, authToken is basically a string. So you are saying I store it in
the wicket session, construct fbclient within session and call like
session.getfbclient when I want to use it. Or didn't I get you right? 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Serializing-restfb-DefaultFacebookclient-in-a-wicket-facebook-application-tp3524700p3524749.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



Serializing restfb DefaultFacebookclient in a wicket facebook application

2011-05-15 Thread labano10
I am building a facebook application in wicket using restfb api. 

After getting the authToken,I do the following in a wicket page:

FacebookClient fbclient = new DefaultFacebookClient(authToken); 

However, I keep receiving the error:

Error serializing object class com.mycompany.myApp.page.AppPage 

I know all model objects need to implement serializable, but
DefaultFacebookClient is from restfb. How should I handle this?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Serializing-restfb-DefaultFacebookclient-in-a-wicket-facebook-application-tp3524707p3524707.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



Serializing restfb DefaultFacebookclient in a wicket facebook application

2011-05-15 Thread labano10
I am building a facebook application in wicket using restfb api. 

After getting the authToken,I do the following in a wicket page:

FacebookClient fbclient = new DefaultFacebookClient(authToken); 

However, I keep receiving the error:

Error serializing object class com.mycompany.myApp.page.AppPage 

I know all model objects need to implement serializable, but
DefaultFacebookClient is from restfb. How should I handle this?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Serializing-restfb-DefaultFacebookclient-in-a-wicket-facebook-application-tp3524700p3524700.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