I analyzed these lines (two iframes => two sessions):
requestUrl =
widget?0-IResourceListener-widget-renderer-chart&id=32836b83-27c5-43f7-a166-8ba38407d7dd
objectHashCode = 12027390
requestUrl =
widget?0-IResourceListener-widget-renderer-chart&id=fb7e5efe-77c9-4494-9f99-9a577fef1687
objectHa
Hi,
You make requests to the same page instance with the same components inside it.
I.e. 0-IResourceListener-widget-renderer-chart always uses the same
instance of 'chart' component.
On Wed, Sep 19, 2012 at 11:02 AM, Decebal Suiu wrote:
> I analyzed these lines (two iframes => two sessions):
>
>
Thanks Martin
I understand this. But why urlFor(IResourceListener.INTERFACE, null);
returns "0-IResourceListener-widget-renderer-chart" in both situations (two
iframes in the same html file). The page version remains the same for both
calls. It's ok this behavior?
The problem appears only when I
I'm coding a wicket 1.5 application and I need to control the way url are
rendered for security reason.
mountPage("xxx/yyy", Zzzz.class)
is excellent for that but I have a problem with url generated for link
listener. For exemple, if I add the following link to my page:
add(new Link("link-logi
Hi,
You can use
mountPage("login", LoginPage.class);
add(new BookmarkablePageLink("link-login", LoginPage.class))
this will generate: /login.
Whay do you want to replace '~' ?
On Wed, Sep 19, 2012 at 1:47 PM, Nicolas Tacheny
wrote:
> I'm coding a wicket 1.5 application and I need to control th
Dear Sven,
Is wicket-dnd already changed for wicket 6 ?
I can't find the sources for this..
Thanks! Kind Regards, Marieke Vandamme
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4652141.html
Sent from the Users forum mailing
Tx, it's ok with a BookmarkablePageLink but is there a way to configure that
for Link in case I need to implement specifics behaviors in onClick?
It's a security constraint in the owner company. My web app will be behind a
Web Application Firewall (apache module) in which there are rules disabli
Hi,
I have many AjaxFallbackLinks in my application, and all the onClick events
have a null AjaxRequestTarget, causing NullPointerExceptions. Most of them
look like this:
new AjaxFallbackLink("editDetailsLink") {
@Override
public void onClick(AjaxRequestTarget target) {
By default Wicket uses '-' as url-encoded version of the component
path separator (':').
Wicket uses '~' only if your component id has '-' in its name.
So the easiest solution to avoid '~' is to not use '-' in the
component ids. I.e. rename 'link-login' to 'linkLogin'.
On Wed, Sep 19, 2012 at 2:04
Hallelujah!
Tx a lot.
On 19 Sep 2012, at 13:18, Martin Grigorov wrote:
> By default Wicket uses '-' as url-encoded version of the component
> path separator (':').
> Wicket uses '~' only if your component id has '-' in its name.
> So the easiest solution to avoid '~' is to not use '-' in the
> co
Hi,
It seems you expect that 'target' will be always there so you actually
need AjaxLink.
Maybe JavaScript is disabled ...
I just tested http://www.wicket-library.com/wicket-examples-6.0.x/ajax/links
(the second link is AjaxFallbackLink) and 'target' is non-null.
On Wed, Sep 19, 2012 at 1:59 PM,
Thanks Martin,
I remembered I was adding jquery libraries to my application. After I
removed the package resource references, ajax worked fine.
On 19 September 2012 12:23, Martin Grigorov wrote:
> Hi,
>
> It seems you expect that 'target' will be always there so you actually
> need AjaxLink.
>
Ok, finally managed to run the page affected by the code and it's working
as expected.
Thanks!
On 18 September 2012 15:35, Martin Grigorov wrote:
> See TextRequestHandler too.
>
> On Tue, Sep 18, 2012 at 5:18 PM, Rodrigo Heffner
> wrote:
> > Thanks, Decebal!
> >
> > I removed an extra "{" afte
Hello,
I’m pretty new to Wicket and I want to realize the following thing:
There is a variable number of links which I’d like to show on my page with
only one wicket-id… So that there can be added links in the Java Code
without adding them in my HTML-file. Is there any solution to do this?
Kind
Hi,
See AbstractRepeater and its specializations (e.g. RepeatingView, ListView).
http://www.wicket-library.com/wicket-examples-6.0.x/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.RepeatingPage
On Wed, Sep 19, 2012 at 4:31 PM, fabley wrote:
> Hello,
>
> I’m pretty new to Wicket
If you try to use the Twitter's Bootstrap template, it throws an exception
of unclosed tag... :-(
I removed those conditional CSS's and then it worked.
*Bruno Borges*
(11) 99564-9058
*www.brunoborges.com*
On Wed, Sep 19, 2012 at 2:53 AM, Martin Grigorov wrote:
> Hi,
>
> What is the problem ?
Dear Forum,
I have the following tree structure: WebPage has Panel A, which has Panel B.
I am trying to propagate an event from Panel B so that it is caught from
WebPage.
Normally, I would propagate an event in the usual way:
send(*getPage()*, Broadcast.BREADTH, new EventUpdate(someObject) );
How
getPage() will return 'null' only if you call send() in PanelB's constructor.
Move the code in PanelB#onInitialize().
See Broadcast.EXACT.
On Wed, Sep 19, 2012 at 6:28 PM, lucast wrote:
> Dear Forum,
> I have the following tree structure: WebPage has Panel A, which has Panel B.
> I am trying to
Hi,
Why not use BUBBLE instead of BREADTH so the order of traversal are
component > page ?
ie: this.send(/* your panel */ this, Broadcast.BUBBLE, .)
Sebastien.
On Wed, Sep 19, 2012 at 5:28 PM, lucast wrote:
> Dear Forum,
> I have the following tree structure: WebPage has Panel A, which ha
That's still on my TODO list.
Sven
On 09/19/2012 12:56 PM, Marieke Vandamme wrote:
Dear Sven,
Is wicket-dnd already changed for wicket 6 ?
I can't find the sources for this..
Thanks! Kind Regards, Marieke Vandamme
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com
Maybe if you do a foward from webservice to wicket page...
>From other side, you can see Wicket Session classes and data into the normal
>HttpSession (thougth it needs a little navigation)
or you can hook data in normal HttpSession into wicket classes.
My2cents: I would refactor helpers outside
Hi,
I am building form that is responsible for submiting simple product information:
- name
- description
- photo
I previously had this form working with name and description then I
have decided to add photo filed for upload and situation got weird.
I had to make form multipart and set maximum
Which version of Wicket are you using? I've tested your code enabling
file upload but it worked fine with both version 1.5.8 and 6.0.0
class AddProductForm extends Form {
private FileUploadField photoField;
public AddProductForm(String id, CompoundPropertyModel model) {
super
Third attempt, had to use another email address, nabble couldn't use my first
one (always got "mail delivery failed"). I'm not sure if it will work now
...
---
Hi!
I'm pretty new to wicket and I have a problem for that I didn't find a
solution so far.
I'm working on a simple sample application
Hi,
See
http://www.frightanic.com/2010/05/10/solution-to-error-404-srve0190e-on-websphere-6-1/
Also use setResponsePage(Class) where possible instead of setResponsePage(Page).
On Thu, Sep 20, 2012 at 9:01 AM, hannes1608 wrote:
> Third attempt, had to use another email address, nabble couldn't
Hi Andrea,
I am using wicket 1.5.7
2012/9/19 Andrea Del Bene :
> Which version of Wicket are you using? I've tested your code enabling file
> upload but it worked fine with both version 1.5.8 and 6.0.0
>
>> class AddProductForm extends Form {
>>
>> private FileUploadField photoField;
>>
>>
26 matches
Mail list logo