Hello,
Im sitting now 6 hours non-stop on this problem and cant get it work.
I want a simple thing.
I have a Invoice.js file in my resource folder.
I want to get this file and write something to it: so I did:
/URL url = getClass().getResource("Invoice.js");
File file = new File(
I noticed some weird behavior when a bookmarkable page contains a Form. If I
deep dive to the page I can see the page id start at ?0. When I deep dive to
it it increments by 1 which it seems normal to me.
However when I navigate to the same page with either an autolink or a
BookmarkablePageLi
Hi Oscar,
Probably nobody responded because this is not a simple topic but with many
implications and turns. There are many optimizations that can be done not
necessarily related to wicket.
I'd recomend http://stevesouders.com/ blog, http://www.bookofspeed.com/ ,
http://www.guypo.com/
But ok I'll
> final Integer newSubdivision = getModelObject().getSubdivision();
You're using the wrong model object, this should be:
final Integer newSubdivision = dropdown.getModelObject();
or:
final Integer newSubdivision = PointLocationPanel.this.subdivision
Sven
On 11/15/2012 09:13 PM, Richard W
I have a drop down choice in a FormComponentPanel, and & need to update
other parts of the panel when the user changes the selected value in the
drop down. My panel class is defined as:
PointLocationPanel extends FormComponentPanel
Its constructor begins like this:
public PointLocationPanel(f
Thanks Sven.
I updated the Wiki entry.
N
On Thu, Nov 15, 2012 at 12:47 PM, Sven Meier wrote:
> Overwrite #updateAjaxAttributes in your behavior or AjaxLink:
>
> @Override
> protected void updateAjaxAttributes(**AjaxRequestAttributes
> attributes)
> {
>
Nothing I can think of.
A testcase for 1.4 and 1.5 would help pinpointing the problem.
Sven
On 11/15/2012 06:52 PM, Alec Swan wrote:
Does anybody have thoughts on this? Was this broken on 1.5?
On Sun, Nov 11, 2012 at 4:39 PM, Alec Swan wrote:
what is the salt that you use?
because we use th
Does anybody have thoughts on this? Was this broken on 1.5?
On Sun, Nov 11, 2012 at 4:39 PM, Alec Swan wrote:
>> what is the salt that you use?
>> because we use the session specific key, but that can also already be used
>> like that in 1.4 is it maybe a different default so that you now use a
>
Overwrite #updateAjaxAttributes in your behavior or AjaxLink:
@Override
protected void updateAjaxAttributes(AjaxRequestAttributes
attributes)
{
super.updateAjaxAttributes(attributes);
AjaxCallListener ajaxCallListener = new Aj
(I respond myself, which is not a good policy )
I've been playing with wicket api, and now I'm doing this
public final static String GOOGLE_URL =
"//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js";
@Override
public void init() {
super.init();
/*
org.apache.wicket.settings.IResourceSettings#getResourceFinders().add(new
org.apache.wicket.util.file.Path("/usr/"))
On Thu, Nov 15, 2012 at 3:20 PM, matt123 wrote:
> Hi Guys,
>
> Iv been trying for a few days with no luck. But I need help loading a css
> file from outside of my war file f
Now it works :))
Thank you very much for your prompt support.
Am 15.11.2012 17:15, schrieb Martin Grigorov:
> Yes. There is no need to add it again and again for each request.
>
>
> On Thu, Nov 15, 2012 at 6:11 PM, Karl-Heinz Golz <
> karl-heinz.g...@t-online.de> wrote:
>
>>
>> Yes, I do it in
Anyone? I tried the component hierarchy based renderHead(IHeaderResponse
response), but it does work, for some reason the prototip-min.js always
appears first in the list of scripts.
My java script appear as below:
I need them to appear as:
--
View this message in context:
http://apa
Yes. There is no need to add it again and again for each request.
On Thu, Nov 15, 2012 at 6:11 PM, Karl-Heinz Golz <
karl-heinz.g...@t-online.de> wrote:
>
> Yes, I do it in getHomePage:
>
> public class StartApplication extends WebApplication {
>
> @Override
> public void init() {
>
Yes, I do it in getHomePage:
public class StartApplication extends WebApplication {
@Override
public void init() {
. . .
}
@Override
public Class getHomePage() {
IPackageResourceGuard packageResourceGuard =
getResourceSettings().getPackageResourceGuard();
Hi,
Do you add white-list patterns to SecurePackageResourceGuard somewhere
outside of MyApplication#init() ?
The exception says that SecurePackageResourceGuard's patterns list is being
modified during the request processing.
It should be changed only at application startup.
On Thu, Nov 15, 2012
hello,
I'm using wicket 1.5.9.
My application shows some dynamic pictures via fancybox (native without
e.g. visural wicket).
That works almost well, i.e. you click the small picture and you get the
big picture via fancybox. And you can click through the show (up to 3
pictures) properly.
But some
You cannot redirect with POST. Redirects are always GET.
You can use HttpClient/UrlConnection to send a POST request to the other
url and then parse the response to see whether the authentication was OK.
The problem with this approach is that it will need two http worker threads
for a single reque
Hi,
It is not clear what exactly you need and do but I think you just need a
plain in the markup, no need of Wicket Form component.
On Thu, Nov 15, 2012 at 5:05 PM, cosmindumy wrote:
> Hi,
> I couldn't find yet a solution.
> When pressing login button, after validation, it should be redirecte
Hi,
I couldn't find yet a solution.
When pressing login button, after validation, it should be redirected to
/j_acegi_security_check?j_usernameand so on.
Using getRequestCycle().setRequestTarget(..) makes parameters visible in
browser.
Which is the best solution?
Thanks.
--
View this
On Thu, Nov 15, 2012 at 4:57 PM, Raul wrote:
> 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 typ
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
I'd like an article about the new Tree/TreeTable components in Wicket 6.
I find it hard to grasp. Maybe because most of its code is in
wicket-examples and the example there is too big and abstract.
I tried twice to migrate from the old/deprecated TableTree and both times I
gave up.
On Wed, Nov 14
As far as I know, wicket-bootstrap's Navbar currently does not support
adding a search form out of the box because you can only add buttons/links
to the Navbar.
I have been advised to override Navbar and adapt the html markup according
to my needs, which was pretty easy to do and works just fine.
24 matches
Mail list logo