Greetings, Wicket Wizards,
I am updating a sample Wicket program from 1.3.6 to 1.4.3 and running into
a few generics-related issues. I am hoping you folks can quickly set me
straight. My code appears to run successfully and passes its JUnit tests,
despite the warnings I would like to
This does not produces any warnings
public class TablePage extends WebPage {
/** Support serialization. */
private static final long serialVersionUID = 1L;
/**
* Creates a page containing a table of Contacts.
*/
public TablePage() {
// Initialize our list of Contact
and the casting is no longer needed
DataViewContact dataView = new DataViewContact(ContactList,
new ListDataProviderContact(contacts)) {
/** For serialization. */
private static final long serialVersionUID = 1L;
/**
* Display each row in the table.
*
Hi,
I want to implement IAuthorizationStrategy in MyApplication, but I do
not know how to get WicketSession, I need to get Component Action List
from WicketSession. Is there some reference?
--
Many thanks!
Haulyn Microproduction
You can access me via:
Location: Shandong Jinan Shumagang 6H-8,
Session.get()?
http://wicket.apache.org/docs/1.4/org/apache/wicket/Session.html#get%28%29
In your custom session class, you can add your own get() method that
returns your specific type:
public static MySession get()
{
return (MySession)Session.get();
}
Then, you don't have to cast:
Hi, I tried this, but I got the following:
you can only locate or create sessions in the context of a request
cycle when I start the application.
On Sat, Nov 7, 2009 at 7:38 PM, James Carman
jcar...@carmanconsulting.com wrote:
Session.get()?
What session are you trying to access during the application startup?
A session is tied to a user's session as they browse your site. Who's
browsing upon application startup?
On Sat, Nov 7, 2009 at 6:42 AM, Haulyn R. Jason saharab...@gmail.com wrote:
Hi, I tried this, but I got the following:
Hi, James:
I just using the following code, then I get that error.
getSecuritySettings().setAuthorizationStrategy(
new IAuthorizationStrategy(){
SecuritySession session = SecuritySession.get();
public boolean isActionAuthorized(Component component, Action action) {
return
Don't try to access the session so early. Just get it inside each
method, because those methods will be called during a request cycle.
Basically, remove your member variable that holds the session and just
use SecuritySession.get() in its place.
On Sat, Nov 7, 2009 at 7:23 AM, Haulyn R. Jason
Martijn,
I'm glad you can make it.
RackSpace's cloud was down when we announced the event. Registration [1] is
now back online.
Regards - Cemal
jWeekend
OO Java Technologies, Wicket Training and Development
http://jWeekend.com
[1] http://jweekend.com/dev/LWUGReg
Martijn Dashorst wrote:
Thanks James, I works well, that means no request, no session.
On Sat, Nov 7, 2009 at 8:27 PM, James Carman
jcar...@carmanconsulting.com wrote:
Don't try to access the session so early. Just get it inside each
method, because those methods will be called during a request cycle.
Basically,
Yes, it's just like servlet programming. You have to have an
HttpServletRequest to get to the HttpSession.
On Sat, Nov 7, 2009 at 8:05 AM, Haulyn R. Jason saharab...@gmail.com wrote:
Thanks James, I works well, that means no request, no session.
On Sat, Nov 7, 2009 at 8:27 PM, James Carman
Hi people,
Does anyone know how to dynamically add components to a form?
The types and numbers of the components are arbitrary, and will be
determined programmatically.
In one page, the form may contain 1 textbox, 2 buttons. In another page, it
may contain 2 textareas, 1 checkbox, and so on...
Hi,
I am trying to develop Wicket application (site about my research in
Data Compression Algorithms) to Google App Engine using NetBeans and
Maven2.
I need an up-to-date pom.xml files with short dependencies, ie. the
ones I saw had a long list of dependencies.
Currently I've found two
I am reading the book: Wicket in Action.
The first sentence of the Note on page 274 reads:
-
Always set a bookmarkable response page after you invalidate the session.
-
My understanding is that if this page has any Wicket-generated links, it MUST
be bookmarkable links too.
Correct?
What determines which components will be on the form?
On Sat, Nov 7, 2009 at 8:38 AM, Gw not4spamm...@gmail.com wrote:
Hi people,
Does anyone know how to dynamically add components to a form?
The types and numbers of the components are arbitrary, and will be
determined programmatically.
In
I am reading the book: Wicket in Action.
The first sentence of second paragraph of page 273 reads:
-
In the UserPanel, we created a model that extends LoadableDetachableModel for
representing the current user (if any).
-
In this chapter (Chapter 11 Securiing your application), I am
unfortunately, there are no public maven repositories that contain the
needed artifacts. I did install them all manually in my local repo...
If you are interested I can send you my pom (but that'll be monday, since I
can't access my pc right now...)
pieter
On Sat, Nov 7, 2009 at 3:52 PM, Piotr
Thanks so much, both of you!
Anyone have any ideas about the WicketTester code?
Problem 3: WicketTester and generics.
I clearly don't understand how to test with WicketTester. Take a look at
lines 37-39 of TestListPage:
Piotr:
On Sat, Nov 7, 2009 at 11:55 AM, Piotr Tarsa piotr.ta...@gmail.com wrote:
I need an up-to-date pom.xml files with short dependencies, ie. the
ones I saw had a long list of dependencies.
I usually start with the wicket quickstart project and it fits my needs.
Later,
I add the
the links on the page dont have to be bookmarkable, the only
requirement is that after you invalidate the session you use
setresponsepage(page.class) variant - which constructs a bookmarkable
link vs a setresponsepage(page) - which constructs a session-relative
link and wont work because you
OK. I will be grateful for any help.
2009/11/7 Pieter Degraeuwe pieter.degrae...@systemworks.be:
unfortunately, there are no public maven repositories that contain the
needed artifacts. I did install them all manually in my local repo...
If you are interested I can send you my pom (but that'll
Let's say... an XML file containing screen configuration file will determine
the form's content.
On Sat, Nov 7, 2009 at 9:30 PM, James Carman
jcar...@carmanconsulting.comwrote:
What determines which components will be on the form?
On Sat, Nov 7, 2009 at 8:38 AM, Gw not4spamm...@gmail.com
Can build using repeaters, or an form with all possible form components
added on it, with they isVisible implementation returning true due
parameters you read in an xml
On Sat, Nov 7, 2009 at 11:38 AM, Gw not4spamm...@gmail.com wrote:
Hi people,
Does anyone know how to dynamically add
Greetings, Wicketopians,
I am updating the Cheesr application to 1.4.3, and with some help from
Andrig Miller, have got the actual application working fine.
The problem I am having is with the unit tests that I wrote for the 1.3.6
version. I use FormTester to fill out the fields on a
this should give you a very decent starting point
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/attic/wicketstuff-crud/
-igor
On Sat, Nov 7, 2009 at 5:38 AM, Gw not4spamm...@gmail.com wrote:
Hi people,
Does anyone know how to dynamically add components to a form?
The types
Hi,
I cannot reach wicketstuff.org anymore. Anyone else experiencing this problem?
Best Regards,
Ilja Pavkovic
--
binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin
+49 · 171 · 9342 465
Handelsregister: HRB 115854 - Amtsgericht Charlottenburg
Geschäftsführer: Dipl.-Inform.
Ryan McKinley wrote:
take a look at Apache Shiro
http://incubator.apache.org/shiro/
I found it much easier to work with...
I agree with this. Apache Shiro is very easy to be used. Although the
learning curve is a little bit steep because of the documentation. But
once you get the hang for
Hi Wicketeers,
I noticed that WicketFilter.getLastModified creates a RequestCycle but
does not /detach /it, so onEndRequest is not called.
I use JCR and open a session to it on first use (lazy init). I store the
JCR session in th RequestCycle. I close the JCR session in
Yes.
2009/11/7 Ilja Pavkovic ilja.pavko...@binaere-bauten.de:
Hi,
I cannot reach wicketstuff.org anymore. Anyone else experiencing this problem?
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
THE server had been moves to another ip. I havent had time to update dns
Martijn
On Saturday, November 7, 2009, Janos Cserep cser...@metaprime.hu wrote:
Yes.
2009/11/7 Ilja Pavkovic ilja.pavko...@binaere-bauten.de:
Hi,
I cannot reach wicketstuff.org anymore. Anyone else experiencing this
I have the same issue
On Sat, Nov 7, 2009 at 4:39 PM, Ilja Pavkovic
ilja.pavko...@binaere-bauten.de wrote:
Hi,
I cannot reach wicketstuff.org anymore. Anyone else experiencing this
problem?
Best Regards,
Ilja Pavkovic
--
binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin
Is there anyway that you can update model before you move the item up or down
using moveuplink and movedownlink in listview. My goal is to save the input
data to the model so that I don't loose use input on the item before moving the
item. I did try to extend the ListView and added my own
Same problem here. I'm pretty new to this business of building off of
repositories using Maven - so new that I assumed my failed 'make install'
was my fault since it was the first time I did it on my own :)
Jake
Ilja Pavkovic-3 wrote:
Hi,
I cannot reach wicketstuff.org anymore. Anyone
you have to use submitlinks for move up/down.
-igor
On Sat, Nov 7, 2009 at 4:31 PM, Swarnim Ranjitkar swarn...@hotmail.com wrote:
Is there anyway that you can update model before you move the item up or down
using moveuplink and movedownlink in listview. My goal is to save the input
data
At least this gives me a reason and time now to setup Nexus to proxy
wicketstuff.org until my builds are broken:)
Any estimate when the dns change would be visible?
Thanks,
Janos
2009/11/7 Martijn Dashorst martijn.dasho...@gmail.com:
THE server had been moves to another ip. I havent had time
Thank you very much .It worked well with submitlinks. I thought it would be
better with AjaxSubmitlink but i couldn't get it working on that. It doesn't
move the item when i click first time. next time it gives me
WicketMessage: org.apache.wicket.WicketRuntimeException: component
37 matches
Mail list logo