Hi,
Having trouble with how this would best be done in Wicket:
I have a Facebook OAuth token, which I use to request data from FB API
and then assemble a User object.
What I'd like to do is store this token in a Cookie, and whenever the
user requests any page in my Wicket app, I'd like to reasse
Thanks a lot for your help Russ. I was so caught up with the problem I
didn't step back and think about having a dummy test page to isolate the SSL
configuration on apache. I'll give that a try.
Thanks again.
Josh
-Original Message-
From: Russell Simpkins [mailto:russellsimpk...@hotmail
Thinking about it some more.
Perhaps the best solution is to simply use a detachable model for the entity
in the view page and then send the user to an error page when the entry is
no longer there. I could of course also use a detachable model for the
entity on the edit page because in this page a
I have indeed seen how to set the default expiry page in the Application
class and that might come in handy. Will have a look too at the
StatelessForm.
Anyway, I have a working solution now with the pagemap trick. However,
perhaps I need to do even more, because the flow isList of items -> vie
Why not set up a property on your page/component for the selected text
and use a PropertyModel?
On Tue, Jul 27, 2010 at 3:34 PM, Eric Reagan wrote:
> Martin,
> I have the following. All I am getting is a null value. Am I setting the
> model object wrong?
>
> IModel stringObjectModel = new Load
Martin,
Thanks for the advice. I had a mental fart and left out the setter
function. Once you add the setter...works like a charm. Thanks again.
Thank you,
On Tue, Jul 27, 2010 at 2:34 PM, Eric Reagan wrote:
> Martin,
> I have the following. All I am getting is a null value. Am I setting
Martin,
I have the following. All I am getting is a null value. Am I setting the
model object wrong?
IModel stringObjectModel = new LoadableDetachableModel<
String>()
{
/**
*
*/
private static final long serialVersionUID =
2165619560012
Have you tried if setDefaultModelObject() works for you?
**
Martin
2010/7/27 Eric Reagan :
> Hello,
> I was wondering how to set the currently selected value for a
> DropDownList? Currently I have a .properties file which sets the value when
> I have a null selection, however, I was wonderin
Hello,
I was wondering how to set the currently selected value for a
DropDownList? Currently I have a .properties file which sets the value when
I have a null selection, however, I was wondering how do I change the
currently selected value to a different one (e.g. if I am pulling a
previous
What do you mean "unintentionally"? Why do you use a crypted url strategy?
On Tue, Jul 27, 2010 at 6:54 PM, fatefree [via Apache Wicket] <
ml-node+2303737-2108181663-293...@n4.nabble.com
> wrote:
> I am looking for a solution to a nagging problem on my first wicket
> site, www.luckeffect.com.
>
Does anyone know if this issue was ever resolved? I've just come across it as
well.
I am trying to display a DateTextField and a DatePicker within a Form,
within a Panel, within a ModalWindow.
Works just fine in FF but fails in evil IE7/8 (that is, the calendar does
not appear). I am using version
You can see here http://duydo.com/spring-3-hibenate-3-5-wicket-maven/ for
more detail.
On Mon, Jul 26, 2010 at 3:52 PM, Luther Baker wrote:
> I'm sure I'm doing something incorrectly. For the most part, I copied
> the Spring config file from
> http://wicketinaction.com/2009/06/wicketspringhibern
Which version of hibernate? Try the latest 3.5 version?
Luther Baker
07/26/2010 06:55 PM
Please respond to
users@wicket.apache.org
To
users@wicket.apache.org
cc
Subject
Error integrating with Hibernate and Spring
I'm sure I'm doing something incorrectly. For the most part, I copied
Could someone add some debug output warning for stripped tags that
looks like open close tags ;]]]
2010/7/27 Martin Grigorov :
> Accoring to
> org.apache.wicket.markup.html.IHeaderResponse.renderString(CharSequence)
> javadoc:
>
> /**
> * Renders an arbitrary string to the header. The string is
/**
* Renders an arbitrary string to the header. The string is only
rendered if the same string
* hasn't been rendered before.
*
* Note: This method is kind of dangerous as users are able to write
to the output whatever they
* like.
*
Accoring to
org.apache.wicket.markup.html.IHeaderResponse.renderString(CharSequence)
javadoc:
/**
* Renders an arbitrary string to the header. The string is only rendered if
the same string
* hasn't been rendered before.
Each sequence is rendered only once! So you need to pass the whole CSS in
I am looking for a solution to a nagging problem on my first wicket
site, www.luckeffect.com.
The problem is that page parameters are not bookmarkable on the page
that is specified as the application home page. For an example, the
breadcrumb link Home > 'Page 1' on http://www.luckeffect.com/ is
un
Hi!
Is it abug or a feature that if I have the following:
public void renderHead(IHeaderResponse response) {
// Tweak 1
response.renderString(CssUtils.INLINE_OPEN_TAG);
response.renderString("div.upper-background-canvas { background:
url(/images/template-bg.png) repeat-x rgb(5
> My problem is not specific to wicket but I'm hoping that someone in the
> community has fought this battle before and is willing to lend a helping
> hand. I am using the HttpsRequestCycleProcessor and I only have the
> @RequireHttps annotation on one page, the registration page. I have apache
I've come across similar scenarios fairly often - i.e. where a the
construction of component is impossible if its model object is null, or
some other construction parameter is null.
I'm still not sure what the best approach is in this situation.
One of the methods I've used is to late-bind the
Thanks Josh and Daniel - both methods have worked. I have gone with checking
if the object is null or not like so...
public class SomePanel extends Panel {
public SomePanel(String id) {
super(id);
if ( data == null ) {
return;
}
Label label = new Label("some
You could try using a PropertyModel instead like this:
Label label = new Label("someLabel", new
PropertyModel(DataView.this,"data.id");
PropertyModels take care of possible null pointers.
Kind regards,
Daniel
www.joyn-it.at
On 27.07.2010 10:28, Abid K wrote:
I hope someone can help a newb
Abid,
Hi,
I noted that you are adding the panel whether the data is null or not. I
would suggest you do this;
Data data = dataDao.getData(id)
if (data!= null){
//construct and add the panel
DataPanel panel = new DataPanel("panel", data);
add(panel);
//the panel has implement
Abid,
Hi,
I noted that you are adding the panel whether the data is null or not. I
would suggest you do this;
if (data!= null){
//construct and add the panel
}
On Tue, Jul 27, 2010 at 11:28 AM, Abid K wrote:
> I hope someone can help a newbie who is learning Wicket.
>
> I have the foll
I hope someone can help a newbie who is learning Wicket.
I have the following code which accepts a parameter and then does a database
query to get the 'Data' object. If the user enters the wrong Id the database
query will return null and in this case I want to notify the user the data
could not be
Looks real cool but no I have not used.
Nive
On Mon, Jul 26, 2010 at 7:03 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> Hi!
>
> Has someone implemented "Candy" on Wicket as an extension to tabbed panels?
>
> http://vimeo.com/13560319
>
> **
> Martin
>
> ---
Il 27/07/2010 09:16, Martin Grigorov ha scritto:
> Remove wicket-jmx.jar from the classpath
>
> On Mon, Jul 26, 2010 at 6:06 PM, Alessandro Bottoni
> wrote:
>
>> Hi all,
>> I'm trying to run the examples included in the Wicket 1.4.9 distribution
>> on my NetBeans 6.9 with Glassfish and I'm getti
Hi
Saw a related link to force page expiry probably might throw some light
http://apache-wicket.1842946.n4.nabble.com/Force-page-expiration-td1844190.html#a1844190
cheers
On Tue, Jul 27, 2010 at 3:23 PM, Nivedan Nadaraj wrote:
> I have added a configuration in the application to redirect the u
Hi
Yep, I got it now. Thanks. I now create a new instance of the Model itself.
This satisfies the comparison.
if (!getModelComparator().compare(this, object)){
...
}
Earlier I was only resetting the contained object within the Model.
Thank You !
Niv
On Tue, Jul 27, 2010 at 3:27 PM, Martin M
thanks..
2010/7/27 Witold Czaplewski
> Hi Nino,
>
> take a look at curved-corner:
> http://www.htmlremix.com/css/curved-corner-border-radius-cross-browser
> http://code.google.com/p/curved-corner/
>
> cheers,
> Witold
>
> Am Tue, 27 Jul 2010 07:27:36 +0200
> schrieb nino martinez wael :
>
> > Hi
Hi!
> 'Note: componentInstance.setModelObject will call modelChanged from within
> if the model is actually changed'
>
> If the model is actually changed. That is what I am not sure, when does it
> get notified that a change has happened.?Setting of an entirely new instance
> in the model should d
I have added a configuration in the application to redirect the user to a
particular page. I guess page expires due to a timeout?
In the base application's init()
IApplicationSettings settings = getApplicationSettings();
settings.setPageExpiredErrorPage(LoginPage.class);
If that helps in anways.
Did you already look at StatelessForm?
Regards,
Erik.
Op 26-07-10 23:14, Erik Brakkee wrote:
Hi,
I am experimenting a bit with page expiry. One solution that works is to
remove the page from the pagemap in the submit of a form. However, removing
the page from the pagemap in the onAfterRe
Remove wicket-jmx.jar from the classpath
On Mon, Jul 26, 2010 at 6:06 PM, Alessandro Bottoni
wrote:
> Hi all,
> I'm trying to run the examples included in the Wicket 1.4.9 distribution
> on my NetBeans 6.9 with Glassfish and I'm getting the following error
> message.
>
> ERROR - Initializer
Hi
Yeah I did have only the setModelObject() but it did not clear it that is
why I added this. Maybe I have not used it correctly.Since you mentioned
'Note: componentInstance.setModelObject will call modelChanged from within
if the model is actually changed'
If the model is actually changed. Tha
Hi!
> componentInstance.modelChanged();
> componentInstance.setModelObject(selectedChoice);
Note: componentInstance.setModelObject will call modelChanged from
within if the model is actually changed
> 1. On the Form the user types in some information and then hits Save.
> 2. The form comes back
36 matches
Mail list logo