Yes, I meant the RestartResponseException.
So indeed, if there is no way to access page parameters from the context of
the method isInstantiationAuthorized or isActionAuthorized (ANY INPUT ON
THIS MATTER will be appreciated :-), I will do the authorization check in
the constructor.
thanks!
The javadocs for the Palette says to add
AjaxFormComponentUpdatingBehaviour to the Recorder like this:
Form form=new Form(...);
Palette palette=new Palette(...);
palette.getRecorderComponent().add(new
AjaxFormComponentUpdatingBehavior(onchange) {...});
Hi,
I have downloaded the wicket examples and they work. However, when i copy
and paste the exact same code for the Modal window to my project in Eclipse,
the codes do not work again.
The error message is Object Expected.
Anyone knows how to solve it? Deeply appreciated!
--
View this message
Yes! its working now. Thanks for your help!
mabel25 wrote:
Hi,
I have been trying to validate FLOAT values by using the NumberValidator.
However, when I retrieve values such as '12000' from the database into a
TextField, the textfield will automatically insert commas to become
'12,000'
We need more info please paste your code and tell us where is the error
mabel25 a écrit :
Hi,
I have downloaded the wicket examples and they work. However, when i copy
and paste the exact same code for the Modal window to my project in Eclipse,
the codes do not work again.
The error
Hi
Is there any way to use WebResource or DynamicWebResource the same way
as WebPage with BookmarkablePageLink and PageParameter?
That is creating a bookmarkable link with parameter for
[Dynamic]WebResource and make use of those parameters in
[Dynamic]WebResource.
-ali
Hi,
I have attached my source code and the error window. Thanks!
Pills wrote:
We need more info please paste your code and tell us where is the
error
mabel25 a écrit :
Hi,
I have downloaded the wicket examples and they work. However, when i copy
and paste the exact same code for
I dont think wicket:link would work. Because I need to create my own class
(Navlink). I guess that the wicket framework adds a Link (or PageLink)
automaticly for you. But if you work on the sourcecode it might work.
Changing the code behind wicket:link. If its possible
Jens
greeklinux wrote:
Hi everybody,
I'm using a RefreshingView inside a table. This table is to long, and i
would like to reduce the width. I try to do this with the css, fail!
***
table cellspacing=0 border=1 class=refreshingTable
tr
thId/th
The .java and .html in your project would be far more useful then the
final .html emitted by Wicket.
Thanks,
plb
mabel25 wrote:
Hi,
I have attached my source code and the error window. Thanks!
Pills wrote:
We need more info please paste your code and tell us where is the
error
I found the solution, by reducing the size of the input text inside the
refreshingview.
--
View this message in context:
http://www.nabble.com/RefreshingView-how-to-resize-it--tp18688971p18689155.html
Sent from the Wicket - User mailing list archive at Nabble.com.
override newrecorder() { recorder r=super.newrecorder(); r.add(new
whateverbehavior()); return r; }
-igor
On Mon, Jul 28, 2008 at 12:33 AM, Edvin Syse [EMAIL PROTECTED] wrote:
The javadocs for the Palette says to add AjaxFormComponentUpdatingBehaviour
to the Recorder like this:
Form
see upload download page on the wiki
-igor
On Mon, Jul 28, 2008 at 2:09 AM, Ali Sakebi [EMAIL PROTECTED] wrote:
Hi
Is there any way to use WebResource or DynamicWebResource the same way
as WebPage with BookmarkablePageLink and PageParameter?
That is creating a bookmarkable link with
are you using wicket 1.2?
-igor
On Mon, Jul 28, 2008 at 2:18 AM, mabel25 [EMAIL PROTECTED] wrote:
Hi,
I have attached my source code and the error window. Thanks!
Pills wrote:
We need more info please paste your code and tell us where is the
error
mabel25 a écrit :
Hi,
I have
Using wicket 1.3.4 - production/stable version
I am testing AuthenticatedWebApplication and AuthenticatedWebSession set
up similar to the wicket-examples.
I have the @AuthorizationInstantiation annotation set up on the home
page.
I start up a session using the address:
Additionally, if I then type the address
http://localhost:8080/MyApp/ the home page shows like it should
-Original Message-
From: Ames, Tim [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2008 11:24 AM
To: users@wicket.apache.org
Subject: AuthenticatedWebApplication Problem
Using
Larry,
I think setLenient(false) should work if you use java.text.DateFormat but
did you write your own custom implementation of IConverter interface? Thats
the only way I can think of at this point.
Aye
On Fri, Jul 25, 2008 at 2:25 PM, Zappaterrini, Larry
[EMAIL PROTECTED] wrote:
I've had the
I've implemented a little solution to inject SpringBean of Wicket Pages on
the un-serialization event :
1 - Make the SpringContext available in a static way :
public class MyWebApplication extends SpringWebApplication {
private static ApplicationContext springApplicationContext = null ;
Aye,
The use of DateFormat is actually in Spring's CustomDateEditor object.
See
http://static.springframework.org/spring/docs/2.5.x/api/org/springframew
ork/beans/propertyeditors/CustomDateEditor.html#CustomDateEditor(java.te
xt.DateFormat,%20boolean,%20int) where it mentions that
Lary,
I've been looking at the APIs some more and found this different
DateTextField (I'm not sure which one you're using):
org.apache.wicket.extensions.markup.html.form.DateTextField
I was using this one:
org.apache.wicket.datetime.markup.html.form.DateTextField
It looks like the the
Why are you doing this again? @SpringBean already takes care of
re-establishing the connection upon deserialization.
On Mon, Jul 28, 2008 at 11:49 AM, Gerald Reinhart
[EMAIL PROTECTED] wrote:
I've implemented a little solution to inject SpringBean of Wicket Pages on
the un-serialization
I found the problem, but I do not know what the solution would be.
In my web.xml if I put in a specific url-pattern like
filter-mapping
filter-namemyapp/filter-name
url-pattern/myapp/*/url-pattern
/filter-mapping
it then works. If I use
After reading old threads in the board here I saw mention of problems
with using a Panel inside a ModalWindow. So I tried converting my Panel
that contained my DataGrid in to a WebPage. And now that DataGrid works
perfectly. I am also having problems with another DataGrid which I will
gather
Hello guys. I searched the list for answers on this but couldn't find any.
Is there a way to show a PagingNavigator (actually an AjaxPagingNavigator)
on the top and bottom of a page? The navigator will page the same data, it's
added on top and bottom just for convenience. I tried to do:
try with regular paging navigator, it will most likely work. the
problem is that because you are using ajaxpagingnavigator, when you
click the top you do not redraw the bottom. you need to add that
behavior yourself.
-igor
On Mon, Jul 28, 2008 at 12:01 PM, Daniel Freitas
[EMAIL PROTECTED] wrote:
With the following markup:
div wicket:id=topNavigator/
div wicket:id=booksList
div wicket:id=books class=book
!-- list of books --
/div
/div
div
I'm trying to display a user's name in the browser. I'm using SWARM for
authentication. My general idea is that the user signs in with this
function:
public boolean signIn(String username, String password) {
LoginContext ctx = new FoodHandlerContext(username, password);
MySession session =
I'm not sure what all you're trying to make easier, but as far as displaying
the user - you could use this:
new Label(username, new PropertyModel(this, session.user.username));
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Jul 28, 2008 at 2:34 PM, insom [EMAIL PROTECTED] wrote:
Hi All,
I have a Save Form where user should be able to add/save new records and
should be able
to view feedback if there are any errors.
In short, When user loads up the page he sees a form and under it a
DataTable
which holds the deafault search results.
If he tries to add a record and Add
On Mon, Jul 28, 2008 at 3:59 PM, nanotech [EMAIL PROTECTED] wrote:
Hi All,
I have a Save Form where user should be able to add/save new records and
should be able
to view feedback if there are any errors.
In short, When user loads up the page he sees a form and under it a
DataTable
Yes, one of the ideas behind wicket is that you create your own custom
wicketsession to access your session objects in a typesafe way.
Using a propertymodel like Jeremy showed is a very elegant way of
getting back that information.
Maurice
On Mon, Jul 28, 2008 at 9:39 PM, Jeremy Thomerson
Nope, no other info then class is available at that time since the
component is not yet fully constructed it is to dangerous to pass that
around even though we could.
So use a custom check in the constructor of your subclass, that way
you have access to all the information you need.
Maurice
On
I don't. I expected it to be rendered twice with the same id ;). Which is
not possible, thus I had to create two components with two ids to make the
navigator appear twice.
Regards
2008/7/28 [EMAIL PROTECTED]
how would you expec the same component to render twice with different HTML
ids?
Hi Ryan,
Did you answer my post? i am unable to see any answer?
Thanks
RG
Ryan Gravener-3 wrote:
On Mon, Jul 28, 2008 at 3:59 PM, nanotech [EMAIL PROTECTED] wrote:
Hi All,
I have a Save Form where user should be able to add/save new records and
should be able
to view feedback if
I'm sorry, gmail shortkeys did me in this time :)
On Mon, Jul 28, 2008 at 5:06 PM, nanotech [EMAIL PROTECTED] wrote:
Hi Ryan,
Did you answer my post? i am unable to see any answer?
Thanks
RG
Ryan Gravener-3 wrote:
On Mon, Jul 28, 2008 at 3:59 PM, nanotech [EMAIL PROTECTED]
wrote:
two html elements cannot have the same id within the same html document...
-igor
On Mon, Jul 28, 2008 at 1:55 PM, Daniel Freitas
[EMAIL PROTECTED] wrote:
I don't. I expected it to be rendered twice with the same id ;). Which is
not possible, thus I had to create two components with two ids to
I meant the wicket:id (which is not an html id right?). Anyways, I will just
keep that in mind. Two components work as expected.
2008/7/28 Igor Vaynberg [EMAIL PROTECTED]
two html elements cannot have the same id within the same html document...
-igor
On Mon, Jul 28, 2008 at 1:55 PM, Daniel
BTW. I'm trying to customize the PagingNavigator. If I come up with a good
way to do it, how can I contribute to the project? Basically, I will try to
let the user choose images or text for the first, previous, next and last
links.
Regards,
2008/7/28 Daniel Freitas [EMAIL PROTECTED]
I meant
do you have an index.jsp in your root context? If so, remove that and try again.
Martijn
On Mon, Jul 28, 2008 at 5:24 PM, Ames, Tim [EMAIL PROTECTED] wrote:
Using wicket 1.3.4 - production/stable version
I am testing AuthenticatedWebApplication and AuthenticatedWebSession set
up similar to
create a patch and attach it to a jira issue is usually the best way.
btw there is already an issue for something like this:
https://issues.apache.org/jira/browse/WICKET-1735
-igor
On Mon, Jul 28, 2008 at 3:01 PM, Daniel Freitas
[EMAIL PROTECTED] wrote:
BTW. I'm trying to customize the
I will add the patch there if I ever come up with a good implementation. The
problem is that there are so many things that can be customizable that it
might be hard to come with a good, elegant solution. For example, the user
might want to use images only, or text only, or image before a text (for
I'll give it a shot and see how it goes, thanks for your help Igor
appreciate it!
Regards
Vyas, Anirudh
On Fri, Jul 25, 2008 at 3:03 PM, Igor Vaynberg [EMAIL PROTECTED]wrote:
my advice to you, if you want to go this way, is to use wickettester
to render the component. it is really easy to
Hi,
I was looking at Feedback Message and the levels defined as integers, in
move to Wicket 1.4, can we have an enumeration (or a class) like
FeedbackMessageLevel, here's the example :
public enum FeedbackMessageLevel{
// Debug level
DEBUG(100),
// Error level
ERROR (400),
// fatal level
Hi. Using Wicket 1.3.4.
I have a main page with a panel. Page contains a form for editing a main
record. Panel contains a DataView containing a list of related sub records.
In the java code for the pabel, create a ModalWindow and pop this for adding
more sub-records. Uses AJAX.
Got this
I'm using Wicket 1.3.3.
If I add a DatePicker to a DateTextField that I in turn add to a
WebMarkupContainer, and that WebMarkupContainer is hidden, a
JavaScript error occurs. It looks like the header contributor for the
DatePicker is still rendered to the page despite the fact that its
markup is
please help,Anyone?
---
Hi All,
I have a Save Form where user should be able to add/save new records and
should be able
to view feedback if there are any errors.
In short, When user loads up the page he sees a form and under it a
DataTable
which holds the deafault
Menu is a good idea! I worked on this piece a little bit, (Took some cues
from Swing menu component), but i hit a dead end with keeping markup
consistent. Probably because i dont know wicket well enough; But i am pretty
sure it will be a good add on!.
Rick
On Thu, Jun 5, 2008 at 2:36 AM, [EMAIL
the inMethod DataGrid is excellent.
plb
nanotech wrote:
please help,Anyone?
---
Hi All,
I have a Save Form where user should be able to add/save new records and
should be able
to view feedback if there are any errors.
In short, When user loads up the page he sees a
whats wrong with passing models around?
-igor
On Mon, Jul 28, 2008 at 5:45 PM, Ricky [EMAIL PROTECTED] wrote:
May be i am reading too much into this, but i thought the idea was that
Wicket components deal with Wicket models that in turn deal with Customer
(User / Application) models (or VO
If you post your code on pastebin i'll take a look at it. As for the
generic issue of updating a datatable. I would update it in your onsubmit
method, add it to the target. I wouldn't have any save calls in my
dataprovider, only logic to fetch results.
On Mon, Jul 28, 2008 at 8:52 PM, nanotech
I ended up having to use a custom date pattern. I'm not saying wicket has to
be US-centric but this is such a common validation that most US customers
have included in their requirements.
public class StrictPatternDateConverter extends PatternDateConverter {
public static final String
passing wicket models around is good. My point was that shouldn't a page
have : (Ideally)
1.) Either component as attributes
2.) Or Wicket Models as attributes, should we need to expose a getter from a
page, we could use final Model aWicketWrapperModel = new Model(); and then
setObject( ) on it
In the wicket-stuff repository is a YUI DataGrid wrapper for Wicket. It
is a very robust Data control that supports ajax based updates.
plb
nanotech wrote:
Hi Paul,
Sorry could not understand your answer. Can you please elaborate?
RG
Paul Logasa Bogen II wrote:
the inMethod DataGrid is
Hi Ryan Posted code here..
http://pastebin.org/58032
http://pastebin.org/58035
Thanks,
RG
Ryan Gravener-3 wrote:
If you post your code on pastebin i'll take a look at it. As for the
generic issue of updating a datatable. I would update it in your onsubmit
method, add it to the target.
Hi,
I am observing really weird behavior in IE7. I have nested forms on a page
and a submit button on the outer most form (root form). In FF2 and FF3 when
I click submit button (input type=submit) it works fine, the form gets
submitted and I see validation errors. But in IE, I dont see any
Sure - if you never want to use a property model. And if you don't use OGNL
anywhere in your application. Say, for instance, Hibernate, etc
You have to be careful how much you use it - I hated Tapestry because there
was so much OGNL littered throughout multiple files. But, if you don't
Hi,
I'm currently using wicket 1.4-m1
I need to be able to partially override a properties file.
Eg,
Classpath:
Application.properties
key1=123
key2=456
Filesystem:
Application.properties
key2=444
key3=555
This should result in a resource which is like this
Application.properties
As far as the constructor problem is concerned, I may not fully understand
your problem, but what about static factory methods?
CreateUser.createEditPage(IModelGroup)
CreateUser.createAddPage(IModelUser)
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Jul 24, 2008 at 6:50 AM, John
Not as simple as I'd hoped...
Looks like I need to copy/paste all of PropertiesFactory and reimplement
IPropertiesFactory with my mods.
Oh well :|
--
View this message in context:
http://www.nabble.com/Internationalisation-with-custom-folder-tp18705254p18705484.html
Sent from the Wicket -
59 matches
Mail list logo