I had exactly the same problem. Your solution worked, but did you get any
further information?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/weird-stuff-with-TreeTable-tp1885401p3005112.html
Sent from the Users forum mailing list archive at Nabble.com.
Yes, the HttpsRequestCycleProcessor is doing a redirect from HTTPS to HTTP,
both using POST and GET methods (btw Melinda, as you pointed, this last
ones preserves the values as it was expected but I can not use this way...).
Is there anything I can do to avoid that? The
Hi
I have an dropdown which gets feed a Queue list, I have a custom renderer
which then select the name property as displayvalue. Now the property it's
setting on the backing model are just a string which of course will not take
a queue instance. So should I use a custom converter for this or
Since you don't use secure Pages (pages with @RequireHttps) then I see no
reason to register HttpsRequestCycleProcessor.
On Thu, Oct 21, 2010 at 9:24 AM, sonxurxo sonxu...@gmail.com wrote:
Yes, the HttpsRequestCycleProcessor is doing a redirect from HTTPS to HTTP,
both using POST and GET
I use some secure pages annotated with @RequireHttps, but not all the pages
where the login panel will be. For example, the main page or the general
info page will be no secured, but the login panel will be there in both
pages. There are also other profile-dependent pages that are of course
full
Then maybe you'll need to
modify
org.apache.wicket.protocol.https.HttpsRequestCycleProcessor.checkSecureIncoming(IRequestTarget)
to your needs.
On Thu, Oct 21, 2010 at 9:56 AM, sonxurxo sonxu...@gmail.com wrote:
I use some secure pages annotated with @RequireHttps, but not all the pages
Hi,
I am using app engine development server (eclipse). Is there a way to reload
the HTML files when I change them on the disk? We need to disable resource
monitoring thread in app engine, so cache eviction does not happen.
getResourceSettings().setResourcePollFrequency(null);
I also cannot
Thank you all for your responses.
Yes, I was thinking about that. How could I achieve that?
I'd like to be able to access the form that generated the request through
the target parameter, but it's not visible. If I could, I'd determine if
it's an instance of my custom SecureForm class and
Hi Nino,
what kind of Model are you using as backing model? You can try nesting
models to extract string property from object
For example: PropertyModelDrop down control's model
See IChainingModel for further informations.
Hi
I have an dropdown which gets feed a Queue list, I have a custom
On Thu, Oct 21, 2010 at 11:30 AM, sonxurxo sonxu...@gmail.com wrote:
Thank you all for your responses.
Yes, I was thinking about that. How could I achieve that?
I'd like to be able to access the form that generated the request through
the target parameter, but it's not visible. If I could,
Thats not the problem... The problem are that the dropdown consists of
Queue's and the backing model just are a string so I need to somehow convert
the string from and to a queue..
2010/10/21 Andrea Del Bene adelb...@ciseonweb.it
Hi Nino,
what kind of Model are you using as backing model? You
Hi all,
I think I finally have the solution, thanks everyone who guide me. Please
correct me if I'm missing something, I tested it quite well and everything
is OK. What I do is the following:
- I have my custom SecureForm class (inherits from Form), as I mentioned
before. It overrides the
Hi all,
I'm having a bit of trouble wrapping my head around the DataTable with
regards to what I need to do.
The perfect example of my goal is in Wicket Examples, namely, the Ajax
Editable Tree Table:
http://wicketstuff.org/wicket14/ajax/tree/table/editable.0
By the way, now that it's done and supposing it's OK, wouldn't be a good idea
to include something like that in the trunk? Or maybe in an extension? Maybe
do the same with some links? It's just an idea, I'm surprised not a lot of
people had to lead with this.
--
View this message in context:
If you don't get an answer here, do you want to try posting on
http://groups.google.com/group/google-appengine-java
then then click the Discussions link to see if you get any joy there?
--
View this message in context:
Here's the code for the CompanyPage (the first panel)
public class CompanyPage extends DashboardMenuPage {
public CompanyPage() {
super(CompanySelected.dashboard);
if (ContextUtil.get().getUser() instanceof ExternalUser) {
Maybe [1] contains some info?
Ernesto
1-http://kimenye.blogspot.com/2009/06/google-app-engine-wicket.html
On Thu, Oct 21, 2010 at 11:02 AM, EC chalanga.e...@gmail.com wrote:
Hi,
I am using app engine development server (eclipse). Is there a way to reload
the HTML files when I change them on
Hi all,
I'm using AjaxFallbackDefaultDataTable for ajax based pagination and
sorting, however I can't find a way to trigger page changes using
javascript.
I need to jump to different pages, without user clicking on the page
number.w
Any suggestions how to achieve that?
Thanks,
Bilgin Ibryam
just and idea:
-extend AjaxFallbackDefaultDataTable to MyAjaxFallbackDefaultDataTable
and make constructor call setOutPutMarkupId(true) on it so that it is
updateble via AJAX.
-add an AbstractDefaultAjaxBehavior to MyAjaxFallbackDefaultDataTable
-use that behavior to to generate a callback URL
just and idea:
-extend AjaxFallbackDefaultDataTable to MyAjaxFallbackDefaultDataTable
and make constructor call setOutPutMarkupId(true) on it so that it is
updateble via AJAX.
-add an AbstractDefaultAjaxBehavior to MyAjaxFallbackDefaultDataTable
-use that behavior to to generate a callback URL
I localized an error in my solution: when validation fails, it enters an
infinite loop of redirects through:
[...]
if (this.isSecureFormRequest(target)) {
redirect = SwitchProtocolRequestTarget.requireProtocol(Protocol.HTTPS);
}
[...]
I don't know how to make it stop when validation fails
Thanks Ernesto, I'm trying your page but faced this:
- use that behavior to to generate a callback URL you can use on client
side:
Because AjaxFallbackDefaultDataTable is in a panel that is loaded with
AjaxLazyLoadPanel, I get an error No page found for component
- use that behavior on client to
Hi,
Answers inline
On Thu, Oct 21, 2010 at 3:04 PM, Bilgin Ibryam bibr...@gmail.com wrote:
Thanks Ernesto, I'm trying your page but faced this:
- use that behavior to to generate a callback URL you can use on client
side:
Because AjaxFallbackDefaultDataTable is in a panel that is loaded
The problem in your first example is return confirm('text'); Once you
dismiss the confirm dialog, no matter which button you click, the javascript
returns. Same with your second example. You hit a return statement before the
Ajax script gets executed.
Your third example works, because if
Thanks a lot Ernesto, it worked!
I changed AjaxFallbackDefaultDataTable to implement IHeaderContributor and
retrieved the url there. Also added the callback function there using the
url
On Thu, Oct 21, 2010 at 2:14 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Hi,
Answers inline
Hi Mark,
The cell's of a datatable are created by the IColumn. So you need to
create a wrapping object or additional IModel that contains the
edit-ability of each row and then use that inside the populateItem(...)
method of the column to figure out which case to show (i.e. the label or
the
Hi,
I am also having the same problem. My wicket pages (.java files and .html
files) are in the same package e.g. se.myapp.web.pages etc. And I don't
have any src/main/webapp/WEB-INF/html Directory in my workspace.
Please help me to fix this problem.
Thanks
--
View this message in
See WICKET-3126. I attached a patch and unit tests.
Now the Url is stable - always /.
The problem comes when the user application wants to re-map to different
class than application#getHomePage - MountedMapper(/, ...) believes that
*all* requests to bookmarkable pages
do it in the ddc's model
-igor
On Thu, Oct 21, 2010 at 3:14 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Thats not the problem... The problem are that the dropdown consists of
Queue's and the backing model just are a string so I need to somehow convert
the string from and to a
sometimes AjaxLazyLoadPanel does not load in IE and chrome , I am using
wicket 1.4.8.
I have to hit refresh several time to load the lazypanel.
Please advice me.
--
View this message in context:
I have a similar problem, wicket 1.4.8 has any issues with AjaxLazyLoad ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/proble-with-AjaxLazyLoad-in-IE7-and-IE8-tp2216483p3006114.html
Sent from the Users forum mailing list archive at Nabble.com.
Hello, anyone have an idea how to avoid getting model object if component is
not rendered?
ListModelCustomUser usersListModel = new ListModelCustomUser() {
private static final long serialVersionUID = -4520573537970008038L;
@Override
public
On Thu, Oct 21, 2010 at 2:07 PM, meduolis meduol...@gmail.com wrote:
usersChoice.setModelObject(usersChoice.getChoices().get(0));
You're calling it yourself. The line above is the culprit.
--
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket? Use Brix!
Oh, ..., thanks for a sharp eye ;)..Then I will need to find another way how
to get rid of that default drop down value Choose one. Thank you
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Avoid-getObject-on-Model-if-component-not-rendered-tp3006125p3006137.html
seems like an idea..I'll try that..
2010/10/21 Igor Vaynberg igor.vaynb...@gmail.com
do it in the ddc's model
-igor
On Thu, Oct 21, 2010 at 3:14 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Thats not the problem... The problem are that the dropdown consists of
Queue's and
Create and add the DropDownChoice in onInitialize(). If the component is not
rendered then that method will not be called (untested)
@Override
protected void onInitialize() {
super.onInitialize();
final DropDownChoiceCustomUser usersChoice = new
DropDownChoiceCustomUser(usersList,
Or, just set the default value in onConfigure of the dropdownchoice itself,
which will not be called if the ddc is not visible.
On Thu, Oct 21, 2010 at 2:52 PM, Hans Lesmeister le...@web.de wrote:
Create and add the DropDownChoice in onInitialize(). If the component is
not rendered then that
Am 21.10.10 21:07 schrieb meduolis unter meduol...@gmail.com:
final DropDownChoiceCustomUser usersChoice = new
DropDownChoiceCustomUser(usersList, customUserModel, usersListModel, new
ChoiceRendererCustomUser(username));
usersChoice.setNullValid(false);
AFAIK onConfigure() is _always_ called, also when a Component is invisible;
If I recall correctly this was done to remove the
callOnBeforeRenderIfInvisble() method and switching visibility in
onBeforeRender().
Bas
- Original Message -
From: Jeremy Thomerson jer...@wickettraining.com
correct. onconfigure() can be used to control visibility - which
includes making an invisible component visible.
-igor
On Thu, Oct 21, 2010 at 1:00 PM, Bas Gooren b...@iswd.nl wrote:
AFAIK onConfigure() is _always_ called, also when a Component is invisible;
If I recall correctly this was done
Doh! You're right. onInitialize of the parent component makes sense, or
else write a custom model that gets the selected choice from the choices[0],
which wouldn't be invoked if the ddc wasn't visible.
On Thu, Oct 21, 2010 at 3:00 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
correct.
Nino,
I want a Wicket sticker that I can stick on the back of my laptop display!
On Mon, Oct 13, 2008 at 7:31 AM, Nino Saturnino Martinez Vazquez Wael
nino.marti...@jayway.dk wrote:
Hi Guys
The store are open again, now with permission from Apache. And yes the BIB
are back:) Please say
What a hack. Those things should be simple. I will give it a try.
On Thu, Oct 21, 2010 at 4:37 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Maybe [1] contains some info?
Ernesto
1-http://kimenye.blogspot.com/2009/06/google-app-engine-wicket.html
Hi,
I just want to ask if get the ldm concept right in my code:
SortableDataProvider for DataTable:
@Override
public IModelUser model(final User object) {//user is a
JPA entity
return new LoadableDetachableModelUser(object) {
private static
Upgrade Wicket up to 1.4.12 - should help :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-IE-and-chrome-tp3006112p3006579.html
Sent from the Users forum mailing list archive at Nabble.com.
By referencing the object within the LDM, you've made the compiler put a
reference to it in your LDM class, which means it will now be serialized.
Take the final off the user object and do:
final int id = object.getID() so that only the id is serialized.
Jeremy Thomerson
Is you have success and-or find some easier solution can you ports
here? I will start using GAE on a regular basis soon...
Ernesto
On Thu, Oct 21, 2010 at 11:51 PM, EC chalanga.e...@gmail.com wrote:
What a hack. Those things should be simple. I will give it a try.
On Thu, Oct 21, 2010 at 4:37
The instructions that I followed were here:
http://agilewombat.blogspot.com/2010/01/wicket-on-google-app-engine.html
Snippet from that post below. Note how he creates his own RequestCycle that
enables modification watching when in DevelopmentMode:
class MyWebRequestCycle extends WebRequestCycle
I just upgraded wicket and wicket-push to 1.4.12
I got this error
java.lang.ClassNotFoundException:
org.mortbay.cometd.continuation.ContinuationCometdServlet
complete stack
org.mortbay.cometd.continuation.ContinuationCometdServlet
java.lang.ClassNotFoundException:
So, it seems you have a jar missing from your classpath. Are you using
Maven?
On Thu, Oct 21, 2010 at 10:39 PM, fachhoch fachh...@gmail.com wrote:
I just upgraded wicket and wicket-push to 1.4.12
I got this error
java.lang.ClassNotFoundException:
50 matches
Mail list logo