I have a problem with migration AbstractTreeColumn from 1.4 to 1.5.
This is my origin code, but AbstractTreeColumn is no longer available in 1.5.3:
IColumn[] columns = new IColumn[] { new AbstractTreeColumn(
new ColumnLocation(Alignment.MIDDLE, 8, Unit.PROPORTIONAL),
Hi there,
I'm having the same problem. Any chance of a peek at your solution?
Cheers
Anthony
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Setting-the-value-of-a-HiddenField-from-JavaScript-tp3539234p4175796.html
Sent from the Users forum mailing list archive at N
See
org.apache.wicket.extensions.markup.html.tree.table.AbstractPropertyColumn.getNodeValue(TreeNode)
On Fri, Dec 9, 2011 at 9:30 AM, Weller, Thomas
wrote:
> I have a problem with migration AbstractTreeColumn from 1.4 to 1.5.
>
> This is my origin code, but AbstractTreeColumn is no longer availa
Hi Dan,
As Martin stated, wicket-security (wasp-swarm) is now part of wicketstuff-core
and as such is released for every wicket release. It is maintained and it will
continue to work, as all our major applications are built on top of it.
Best regards,
Emond Papegaaij
On Friday 09 December 2011
Hi Gabor,
It looks like there is a difference in the configured context path.
I'm not sure how you start it - with mvn jetty:run or with Start.java.
I'd recommend you to use Start.java. It gives you much faster
development cycle.
On Fri, Dec 9, 2011 at 2:15 AM, Kincses, Gabor wrote:
> No luck wi
Hi there,
I am using Wicket 1.4.19 and trying to do what the subject says: Avoid
creating an HttpSession before the user logs in. Why would I want to
allocate memory for an unauthorized user, right?
I can make my login page stateless and if the user hits the login page
URL no session is created y
Hi,
It's certainly possible, with some additional work by you.
The easiest way:
- redirect the user to your login page, add a variable to the
PageParameters which helps you redirect them back
- after logging in, check for said variable in PageParameters and
redirect the user back
Now the eas
I was using the procedure which is described here:
http://apache-wicket.1842946.n4.nabble.com/Initiating-File-Download-through-Ajax-is-not-working-td2289784.html
all day.. but since Update to 1.4.19 the File Streaming is broken. The user
is redirected to a "new" or empty wicket-page (looks like a b
Thanks for the quick reply. That's what I was thinking to do, from a
high level perspective, but could anyone provide some more details
regarding the implementation?
First of all, how do I redirect the user and avoid the creation of a
session? Just call Component.setResponsePage?
This seems as if
Looking around the APIs and all, but haven't figured out how to have a
LabelTree rendered with the tree expanded properly to point to a
preselected node.
Manos
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
Fo
Hi all,
Our javascript developer complains that Wicket automatically adds the CDATA
part whenever it encounters the *script* tag.
He's trying to embed a template in the html file(not in the head section)
and he gets a bunch of CDATA along with the html which will get
multiplied(we're creating a b
Hi,
Yes, this CDATA is there to be able to use > and < with XHTML.
You can construct the templates directly with renderString() method to
avoid the CDATA.
On Fri, Dec 9, 2011 at 3:17 PM, Serban Balamaci wrote:
> Hi all,
> Our javascript developer complains that Wicket automatically adds the CDAT
I have narrowed down the problem to Google Chrome (both 15.x and 17.x-dev
version) now. In both Firefox and IE 9 the download is working and the ajax
links keep working after the download finished.
I have created a quickstart application that demonstrates the thing. Are
you still interested in tha
Which version of Wicket are you using?
2011/12/7 Lichtenberg, Mark :
> I have a page containing a number of AjaxLinks that when clicked fetch data
> and update some panels. When a user leaves one of these pages and returns
> via the back button the state of the page isn't always how they left it.
Ah, thanks for the info!
@Other Dan: I poorly worded that. Role-based access is exactly what I want
to do.
-Dan
On Fri, Dec 9, 2011 at 3:42 AM, Emond Papegaaij
wrote:
> Hi Dan,
>
> As Martin stated, wicket-security (wasp-swarm) is now part of
> wicketstuff-core
> and as such is released for eve
1.5.3.
I've narrowed the problem to a ListView being present on the page. Whenever
there's a ListView with setReuseItems set to false (the default) the Page ID
gets incremented whenever the back button is used to return to the page. I
confirmed this with a call to getPage().getPageId() in an o
Now I implemented it in that way:
IColumn[] columns = new IColumn[] { new
AbstractPropertyColumn(
new ColumnLocation(Alignment.MIDDLE, 8,
Unit.PROPORTIONAL),
null, id) {
/**
Auth-roles has always worked fine for me.
On Dec 9, 2011 10:59 AM, "Dan Alvizu" wrote:
> Ah, thanks for the info!
>
> @Other Dan: I poorly worded that. Role-based access is exactly what I want
> to do.
>
> -Dan
>
> On Fri, Dec 9, 2011 at 3:42 AM, Emond Papegaaij
> wrote:
>
> > Hi Dan,
> >
> > As
Without reusing the ListView items, the "item.add(...)" will get called
with each render. I expect that'll cause MarkupContainer#addedComponent()
to WebPage#componentAdded() to WebPage#dirty() which sets a new page ID.
Sorry I don't have time to test the theory at the moment.
On Fri, Dec 9, 2011 a
Hi, I have recently run into a strange issue with the ModalWindow. The
ModalWindow contains a page set with the method setPageCreator. And from the
wicket debug window,
I see the following lines when constructing the modal window:
And with a bit of debugging using firebug, I see that the scripts
I confirmed this behavior in our application. Simply reloading a page with
a ListView a few times advances the page ID but not the URL. AJAX links
know to target the new page ID, but any updates they make get lost if the
page gets reloaded from the URL. Sounds like a bug to me. Wicket 1.4 didn't
be
On 12/09/2011 03:30 PM, Emmanouil Batsis (Manos) wrote:
Looking around the APIs and all, but haven't figured out how to have a
LabelTree rendered with the tr
To answer my own email, it's all about
// select the apropriate node, in my case a
// DefaultMutableTreeNode
tree.getTreeState().select
That's exactly what I'm experiencing. In 1.5 it appears there's a few extra
requests during a reload that I assume are retrieving the latest page version.
I'll create a bug report. Thanks for your help.
Mark
On Friday, December 9, 2011 at 1:26 PM, Dan Retzlaff wrote:
> I confirmed this behavio
On 12/06/2011 02:55 PM, Emmanouil Batsis (Manos) wrote:
On 11/19/2011 05:09 PM, Emmanouil Batsis (Manos) wrote:
> I was wondering if anyone has implemented a reusable component for
> handling hierarchical/dependent dropdowns as I'm thinking of having a go
> at it... I hijacked the thread as i
I wouldn't say there are extra requests, just extra page versions due to
re-population of the list view. Seems like the re-population process should
be engineered in a way that doesn't advance the page number. But I'll leave
that to the experts. :)
On Fri, Dec 9, 2011 at 11:50 AM, Mark Lichtenberg
In my project, for business reasons, we have classes with SortedSet members.
The classes and their elements are all Serializable. I'm having trouble
working with a SortedSet object; when I try creating a
ListMultipleChoice object for it (and putting it into a
FormComponentPanel>), I get all so
I'm seeing requests logged when the RequestLogger is enabled during page
reloads and when the back button is used. The same code under 1.4 does not. I
assumed the extra request was to fetch the latest render of the page if it was
updated via ajax.
On Friday, December 9, 2011 at 1:59 PM, Dan Re
You can either call setResponsePage or throw a RestartResponseException.
I think the main reason for implementing this is security. Since it's
handled through the session, the user cannot tamper with the url.
Of course it's also very easy to use.
Furthermore it's very easy to implement by a wi
This created session on RestartResponseAtInterceptPageException may also lead
to a possible "Session Fixation" attack in one that a malicious user tries
to access your site and is redirected to the login page but now with a
session created. The malicious user could then pass to a possible victim th
29 matches
Mail list logo