Thankyou very much martin.
I am create custom MyWebSessionStoreProvider class and this class
implements IProvider interface.
The get() method return a MySessionStore.
Then i am using following setter method to set the
MyWebSessionStoreProvider().
@Override
protected void init()
{
Hi,
Label label = new Label(fName, myVO.getName()); // (or better use new
PropertyModelString(user, name) )
label.setVisible(myVO.getName()!=null);
add(label );
Also, the fName markup id seems to be missing in your html (also the
message markup id in test)
div wicket:id=test1
div
Hi,
Which version of Wicket do you use ?
See
org.apache.wicket.settings.IDebugSettings#setLinePreciseReportingOnAddComponentEnabled
and
org.apache.wicket.settings.IDebugSettings#setLinePreciseReportingOnNewComponentEnabled.
When set to true these create an exception and saves its stacktrace as
Bravo! :-)
On Fri, Aug 10, 2012 at 12:08 AM, Dan Simko wicke...@gmail.com wrote:
Hi,
I've just upgraded my Wicket - Brix application (http://www.sportave.com) to
6.0-SNAPSHOT and everything seems to be working great.
Big thanks to all contributors!
--
You received this message because
Thank you, Joachim!
For all your contributions to WicketStuff!
On Thu, Aug 9, 2012 at 10:45 PM, Joachim Rohde
mailingl...@joachimrohde.com wrote:
Hello,
maybe someone might be interested that I have uploaded a component for
Google Maps 3 today which can be found at GitHub under
Hi,
Do you want to help us with the new Wicket-Examples ? ;-)
At
https://github.com/apache/wicket/tree/master/wicket-experimental/wicket-examples-parent
you may see what we have so far.
The goal is to migrate the old wicket-examples to the new style.
The skills you will improve:
- Java 6
-
I created a treetable with a treemodel based on database schema. I am trying
to refresh the treetable so that it will change it's data after some db
update.
I update viat the button event.the button event work but treetable doesn't
change.
To create treetable i have this on my page:
treeTable =
the create treetable code like this:
treeTable = new TreeTable(treeTable, createTreeModel(), columns);
treeTable.getTreeState().setAllowSelectMultiple(true);
treeTable.setRootLess(true);
treeTable.getTreeState().collapseAll();
creatForm.add(treeTable);
the columns code:
new
i am throw this exception when the session is invalidate
throw new RestartResponseAtInterceptPageException(MyappLoginPage.class)
But is not working in wicket 1.5.7.but it is working fine in wicket 1.4.X
Hi,
Jira is down so I cannot comment there.
I've just fixed the bug with the keyboard navigation.
About the two fires when using the mouse - I have no idea how this
worked in 1.5. Here is what happens now: the user enter something in
the input, then goes and clicks on an option in the
I'm using Wicket 1.5.7. I understand how to turn the stacktraces on and
off (in development more I have both those settings turned on). My
question is more: the files look like they are indicating an error is
happening, but I don't get a stacktrace at run-time. For example, if I
have a mismatch
No, these are no errors.
These are kept only in case of error.
We can improve though by removing them in Component#detach(). I see no
reason to keep them around after the first render of the page.
Please file a ticket.
On Fri, Aug 10, 2012 at 2:45 PM, Andrew Geery andrew.ge...@gmail.com wrote:
Hi,
(Using Wicket 6.0-SNAPSHOT, or 1.5.7)
I found a strange behavior when calling Page#isPageStateless(). I have a
simple label in my personal wicket debug bar which displays stateless
when a page is stateless. It works like so:
new WebMarkupContainer(statelessMarker) {
@Override
Hi,
The page can become stateful during rendering, as you have noticed.
There is a code in WebPageRenderer that re-renders the page if it
change state during the first rendering because otherwise some
previously rendered links may became broken.
The real problem here is that #isPageStateless()
Hi All,
I am new in Wicket. Is it possible to implement Tabs in multi row manner. I
see in examples or tutorial only singe row tabs.
If not. Which best way to implement it?
Thank you.
Valery Gorbunov
Hello there, mighty developers.
I'm quite new in Wicket, so beforehand sorry if my question is stupid.
So what i have is a RadioGroup, with some childs. When page loads for the
first time,
one of child gets selected by default, and everything is fine. But, when i
change selection and
press
it might give you wrong result even if you add your component after
adding all the components because some components foreg. a repeater
like listview/dataview/gridview add children in onbeforerender so
isPageStateless() can be assumed to work correctly only after
onbeforerender
that caching
I've run into this issue a couple of times and worked around it, but I
wanted to see if there is a better way of handling it.
I have a form in a panel in a ModalWindow on top of a datatable in a page.
When a user clicks the Save ajax button in the modal window, a done event
is bubbled up from
currently i think you can do by keeping some boolean variable that you
can populate after page#onbeforerender
and override your desired component's isVisible() {return my_boolean ;}
On Fri, Aug 10, 2012 at 7:01 PM, Bertrand Guay-Paquet
ber...@step.polymtl.ca wrote:
Hi,
(Using Wicket
On 10/08/2012 12:12 PM, vineet semwal wrote:
it might give you wrong result even if you add your component after
adding all the components because some components foreg. a repeater
like listview/dataview/gridview add children in onbeforerender so
isPageStateless() can be assumed to work
Hi and welcome to this mailing list!
it's not clear to me the purpose of the ListView in your code. Why do
you need it and what is the relation between this component and RadioGroup?
Hello there, mighty developers.
I'm quite new in Wicket, so beforehand sorry if my question is stupid.
So what
Guys,
You can always create dynamic class
Use java assist
I was also having same problem and i use that and it works fine
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-map-2-html-files-to-1-class-tp1890619p4651138.html
Sent from the Users forum
you are right onconfigure is executed once before rendering .
actually isPageStateless() can be broken easily as that variable can
be populated before the page#onbeforerender is completed ie. say if
some component in onbeforerender uses ispagestateless() then the
variable will be set
I have followed what I think is necessary to get a wicket portlet in liferay.
However, I have not been able to add the portlet to a page.
I am by no means a liferay expert so I may be missing something.
Note: liferay 6.1
This is what I have done so far. Can someone point out what I have done
Since Wicket's TreeTable uses Java's javax.swing.tree.TreeModel, I would
check out Oracle's tutorial on How To Use Trees (JTree).
More precisely the Dynamically Changing a Tree section:
http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html#dynamic
See if that helps you.
~ Thank
You can change the look-n-feel of any Wicket component by simply extending
the Wicket class, and either modify the HTML and/or the CSS.
If you modify the HTML make sure you preserve the wicket component tree
unchanged since the super class will break at runtime if you shift the HTML
code around
Got my portlet to show up in the Portal. Had my liferay-portlet.xml
incorrect. But there weren't any errors.
Now I have a weird situation. I can add the portlet to my page and it
works. I do a page refresh and now it won't. I was able to track down at
least why it is not. But I don't know
This is weird, I never received Martin's email! I managed to see it in
your first reply Vineet... I also lost a few hours' worth of mailing
list emails.
Removing the caching in isPageStateless() would indeed make sure that
the code in WebPageRenderer would not get the wrong value. However,
28 matches
Mail list logo