Hello,
Im developing an app using hibernate annotations.My problem is when i
configure my appContext.xml the annotated class cannot be found. here is the
code snippet of appContext.xml found in WEB-INF/config.
Do you use maven to build with?
com.test.server.model.Test
com.test.server.model.Test2
freak182 wrote:
Hello,
Im developing an app using hibernate annotations.My problem is when i
configure my appContext.xml the annotated class cannot be found. here is the
code snippet of appContext.xml found
What I've done is as follows
In WEB-INF/web.xml i have the following listeners and params.
contextConfigLocation
${myConfigDir}/applicationContext.xml
Configures Log4J for this web app.
org.springframework.web.util.Log4jConfigListener
Hi
Yes, but why can't ListItem.getIndex() be used? I can't see any
drawbacks, but one advantage is that you can use the same model object
twice in the list. It's not unlikely that I've missed something,
though.
Regards,
Henrik
2008/2/14, Igor Vaynberg <[EMAIL PROTECTED]>:
> you can always rol
Ok, I found it and it was my fault. I leave it here so that anyone
experiencing this same problem can know:
The problem is, this applicacion I am developing was Struts-based before,
and there was an "index.jsp" page in the root of the web application (which
of course had rendered useless with wi
Hello guys,
I have a problem with wicket when I undeploy my application. Tomcat
tries to undeploy everything, but he fails to delete the wicket's API
librairies (wicket-1.3.1.jar, wicket-extensions-1.3.1.jar, etc.).
It seems to the same issue as this one:
http://mail-archives.apache.org/mod_m
Here is a Thread dump from Tomcat (after I have undeployed my app). It
doesn't speak about PageSavingThread, but if anybody see something
wrong
[2008-02-14 12:43:17] [1334 prunsrv.c] [debug] Procrun
log initialized
[2008-02-14 12:43:17] [info] Procrun (2.0.3.0) started
[2008-02-14 12:4
Hello.
I your case you will suffer from weak domain model rules. Look at
http://martinfowler.com/bliki/AnemicDomainModel.html for more info. DTOs -
is the best approach, but there must be some best practices for using them.
Alexander
Martijn Dashorst wrote:
>
> You could do that. If you are p
Hi all,
i'm getting this error in my Ajax Debug Window.
]]>*INFO: *
Response parsed. Now invoking steps...
*ERROR: *Exception evaluating javascript: TypeError: Wicket.Tree
has no properties
*INFO: *Response processed successfully.
I have a simple LinkTree, filled with a bunch of nodes (less tha
Have you tried the antiLocking options (antiJARLocking and
antiResourceLocking)?
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html I haven't but
they seem to speak to your problem with the left over jars.
--
View this message in context:
http://www.nabble.com/Problem-on-undeploy-t
I've noticed the same behaviour using ie7
Using AjaxTabbedPanel the first tab works, the second works, but the third
doesn't work,
in the ajax debug inspector I have the same message indicated by Wen.
If I use TabbedPanel, it works perfectly on ie, too.
I've noticed the same message also when I
Here's another example of what to put in WEB-INF/web.xml
contextConfigLocation
classpath:applicationContext.xml
classpath:applicationContext-acegi-security.xml
Then put your appCon
OK, please make a JIRA issue with a quickstart [1] attached that
exhibits this problem.
Martijn
[1] http://wicket.apache.org/quickstart.html
On 2/14/08, rik rik <[EMAIL PROTECTED]> wrote:
> I've noticed the same behaviour using ie7
> Using AjaxTabbedPanel the first tab works, the second works,
I want to nest list of answers in Data Table which already have data provider
.Below code gives error
IColumn[] columns= { new PropertyColumn(new Model("ID"),"questiontext"),
new AbstractColumn(new Model("Answer Body"))
{
public void populateItem(Item cell,String compo
Hi,
I'm trying to set up testing for my Wicket Application but ran across this
error message:
"org.apache.wicket.protocol.http.WebSession cannot be cast to
my.CustomSession"
The page (LoginPage) I'm testing does:
(CustomSession) Session.get();
This is the point where the error
Hello,
thank you for your answer. I wrote a */META-INF/context.xml* file with
that in it:
antiJARLocking
true
But the problem stills Have I done a syntax error?
C S a écrit :
Have you tried the antiLocking options (antiJARLocking and
antiResou
Looks like the tree javascript has not been loaded. Can you create a
quickstart that reproduces this?
-Matej
On Thu, Feb 14, 2008 at 2:55 PM, Juan Gabriel Arias
<[EMAIL PROTECTED]> wrote:
> Hi all,
> i'm getting this error in my Ajax Debug Window.
>
> ]]>*INFO: *
> Response parsed. Now invokin
Hi Nick,
I prefer the same approach as you, because my domain model is rich and gives
me direct feedback of what goes wrong when somebody wants to change the
model state. This works well for editing simple domain objects, but one of
the challenges I'm facing now is: how do I implement multiaction
Hi,
In theory, all Serializable classes should have a serialVersionUID, but
to provide one to every annonymous inner class used everywhere in a
Wicket app is just too much. So I decided to turn off that warning in
Eclipse, and not to use serialVersionUID any more, but what is the
implication? For
I don't know that the Memento design pattern will necessarily solve
the problem you're talking about. So, you have a persistent Order
entity object in your application (is the order saved to the db
already)? And you want to add OrderLine objects (also persistent) to
it, but you don't want that pe
the scenario you sketched is right. The order is persisted and some
orderlines also. The point is, when I click the 'add line' or 'remove line',
a request cycle is executed, the LoadableDetachableModel is loaded, items
are removed and/or added and I have to commit that to the database. Or where
do
Most (again I say most; Amazon doesn't) shopping carts die with your
session. If you don't place your order and you close your browser,
you lose what you've collected thus far. So, you could store your
shopping cart (Order) information in your session if that sort of
functionality is o.k. with yo
Currently when I run the mvn quickstart command provided by the quickstart
web page, maven complains:
...
[INFO] [archetype:create]
[INFO] Archetype repository missing. Using the one from
[org.apache.wicket:wicket-archetype-quickstart:1.3.0-beta3 ->
http://repo1.maven.org/maven2] found in catalo
Hi there,
I'm looking for a hint if the following can be done easily *without* the use
of a templating language like FreeMarker or Velocity, as I think Wicket
itself is a pretty good templating engine. Suppose I have a TextArea field
and want to create an email on the fly, with certain parameters:
Hi All
I have some problem with the combination written in the subject.
I have a panel which has a form. On that form i append a
AjaxFallbackDefaultDataTable. One of the
columns include a checkbox so i can submit the selected values. This was
working just fine until
i wanted the table to be auto
Hi All
I have started using the wicketstuff-rome project to generate rss feed.
Before this was just done
in a servlet. The servlet would check the parameters submitted. If they were
valid then the rss feed
would get generated.
The parameters are username, password.
Is it possible to add authentif
not that importand
it is just easier to cluster over different jvms (which doesnt happen a lot)
but it is also easier to upgrade an existing code. Because the generated
serialVersionUID
does change for the most stupid ways (i guess they have to do that but most
of the time i don;t care if i added a
This is because of the recent release of maven archetype 2.0-alpha-1 release.
Please consider calling the old plugin version the time for the maven
team to fix the problem.
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create ...
Cheers.
Raphaël
2008/2/14, OliZilla <[EMAIL P
you can mount the wicket rss feed as a "bookmarkable url" and use a
filter to ensure security.
Not sure if wicket has the concept of "securing application resources"
currently built in?
On Thu, Feb 14, 2008 at 9:55 AM, Murat Yücel <[EMAIL PROTECTED]> wrote:
> Hi All
>
> I have started using the
Yes, I made a syntax error... but even with the syntax bellow, the
problem stills...
Sébastien Piller a écrit :
But the problem stills Have I done a syntax error?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Johan,
Thanks for the reply. Just need some further comfirmation.
Here is my scenario:
1) The app is packaged in a single war.
2) No distributed deployment - everything is on the app server (Tomcat
6.0).
3) Only user agent is web browser. No remote client (RMI, java web start
etc.).
4) Same JVM a
if you redeploy a new version
where you did some changes in components that would now generate another id
then the sessions that are on disk cant be loaded anymore
so you loose your sessions
if you had an id. And you dont change it because you want to be able to
deserialize
because you dont added
On Thu, 14 Feb 2008, Sven Schliesing wrote:
> java.lang.IllegalStateException: No WebApplicationContext found: no
> ContextLoaderListener registered?
Yep, you should provide it an ApplicationContext more
suitable for testing. There is the handy MockContext in
wicket-spring that you can use.
We h
optimize your website for 33k6 !
(then it will workr on 128kbs)
Where are the old days where pages where normal sizes...
Currently nobody cares anymore (currently looking at the mobile e90
webbrowser)
johan
On Wed, Feb 13, 2008 at 10:47 AM, carloc <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> W
For swarm 1.3.1 i am working on this. It allows you to use the same
authorization / authentication mechanism as your wicket app. in effect
the policy files.
You can try it out by letting your pom get the latest 1.3-SNAPSHOT.
Some feedback is welcome.
Maurice
On Thu, Feb 14, 2008 at 5:03 PM, Ryan
because the problem is that between the time the list was rendered and
the time you click the link the underlying list might have changed, so
the move operation might be invoked on the wrong item...i think we
just chose a safer default...
-igor
On Thu, Feb 14, 2008 at 1:58 AM, Henrik Lundahl
<[E
isnt this a question for the spring list?
-igor
On Thu, Feb 14, 2008 at 1:04 AM, freak182 <[EMAIL PROTECTED]> wrote:
>
> Hello,
> Im developing an app using hibernate annotations.My problem is when i
> configure my appContext.xml the annotated class cannot be found. here is the
> code snippe
you should put a list in a panel or in a fragment, and then add that
to th ecolumn's cell instead of adding the listview directly.
-igor
On Thu, Feb 14, 2008 at 6:37 AM, wiki <[EMAIL PROTECTED]> wrote:
>
> I want to nest list of answers in Data Table which already have data provider
> .Below c
see MapVariableInterpolator/PropertyVariableInterpolator
-igor
On Thu, Feb 14, 2008 at 7:54 AM, behlma <[EMAIL PROTECTED]> wrote:
>
> Hi there,
> I'm looking for a hint if the following can be done easily *without* the use
> of a templating language like FreeMarker or Velocity, as I think Wic
Yes.
The problem occurs when i add a javascript file in the html header
No matter the content of the file, the tree fails if i have this in my
markup. Any idea?
Juan
I am trying to overlay a mask div during an ajax call but there is obviously
something I don't understand. I would appreciate any advice.
If I do the following in my ajax button subclass, the mask gets displayed
but never hidden. The order of the script parameter versus my style string
makes no d
Maurice,
I have a couple more questions. In my MySwarmStrategy hasPermission(...)
method I only have to look up the principals that have the denied permission
in them, correct? Here is my overide hasPermission(...) method:
public boolean hasPermission(Permission p)
{
How about using an AjaxCheckBox? That way a state change in the checkbox
will be propagated to the server immediately.
mf
2008/2/14, Murat Yücel <[EMAIL PROTECTED]>:
>
> Hi All
>
> I have some problem with the combination written in the subject.
>
> I have a panel which has a form. On that form i
On Thu, Feb 14, 2008 at 7:13 PM, Warren <[EMAIL PROTECTED]> wrote:
> Maurice,
>
> I have a couple more questions. In my MySwarmStrategy hasPermission(...)
> method I only have to look up the principals that have the denied permission
> in them, correct?
Correct
>Here is my overide hasPermissio
Hello wicket-users,
Here's what I'm trying to do. I'm designing a SearchPanel component that
accepts a List and renders these items on a search form. The
SearchField object has properties for search field name, search operator (an
enum), search value and a list of allowed search operators. I am fo
Maurice,
When you say:
> Also don't forget to filter the principals from the hive with the
> principals contained in your subject. you are only interested in the
> principals not contained in your hive.
Haven't we allready done that when we check if the permission has failed
when the super.hasPe
Hello.
My application has a need for more roles than user and admin.
Can someone point me to links etc. on the simplest method of using more than
these roles please? This class seems to be final, so extending it won't do
the trick. Something of a similar complexity is desired, though.
On Thu, 14 Feb 2008, JulianS wrote:
> I am trying to overlay a mask div during an ajax call but there is obviously
> something I don't understand. I would appreciate any advice.
We've done it a bit differently -- all styling (including
the high z-index) in CSS, and just the visibility control
by
you can always copy and paste that code into your project and hack
away at it. wicket-roles is really just an example project.
-igor
On Thu, Feb 14, 2008 at 11:39 AM, Bruce McGuire <[EMAIL PROTECTED]> wrote:
> Hello.
>
>
>
> My application has a need for more roles than user and admin.
>
>
>
>
See wicketstuff-minis' veil
Martijn
On 2/14/08, JulianS <[EMAIL PROTECTED]> wrote:
>
> I am trying to overlay a mask div during an ajax call but there is obviously
> something I don't understand. I would appreciate any advice.
>
> If I do the following in my ajax button subclass, the mask gets
I know, this is really weird... but if i put an empty js file, the tree
stops working.
I finally moved the code from myFile.js to the HTML page, and its working
fine...
Juan
On Thu, Feb 14, 2008 at 3:46 PM, Juan Gabriel Arias <[EMAIL PROTECTED]>
wrote:
> Yes.
> The problem occurs when i add a ja
Bruce,
Just use simpel strings as your role names:
Roles roles = new Roles("OWNER,SUPERVISOR");
roles.hasAnyRole(new Roles("OWNER)) - this will be true
I usually put these as public final static Strings into my WebApplication
class...
Janos
On Thu, Feb 14, 2008 at 8:39 PM, Bruce McGuire <[EMA
Nope, you are correct.
My mind must have been on vacation when i wrote that :)
Sorry for the confusion.
Maurice
On Thu, Feb 14, 2008 at 8:32 PM, Warren <[EMAIL PROTECTED]> wrote:
> Maurice,
>
> When you say:
>
>
> > Also don't forget to filter the principals from the hive with the
> > princip
Timo,
Thanks for your response. Here's a practical example of how this component
will be used.
Let's say I have an employee table out in some database that has firstName,
lastName and department fields. I need to give HR a web page that allows
them to search for employees based on firstName, last
On Thu, 14 Feb 2008, Jay Hogan wrote:
> Here's what I'm trying to do. I'm designing a SearchPanel component that
> accepts a List and renders these items on a search form. The
> SearchField object has properties for search field name, search operator (an
> enum), search value and a list of allowed
Timo Rantalaiho wrote:
>
> We've done it a bit differently -- all styling (including
> the high z-index) in CSS, and just the visibility control
> by IAjaxIndicatorAware.
>
Hi Timo
If you have an example you can share I'd appreciate it.
Julian
--
View this message in context:
http://www.n
you shouldnt rerender the entire form, just some div that surrounds
the area you are changing
i have something similar going, and there i have a div that is around
the label+editor, so i repaint that diff when i need to swap it out
with a different editor...
-igor
On Thu, Feb 14, 2008 at 12:39
Martijn Dashorst wrote:
>
> See wicketstuff-minis' veil
>
> Martijn
>
Thanks for the suggestion. I've tried it, and it works fine when you are
trying to veil a component in response to an action, then unveil it in
response to another, However, if I try to enable the veil at the start of an
aja
I have a page that uses ModalWindows and I would like to disable the
JavaScript confirmation that is displayed when you try to leave the page
while a modal window is open. As recommended by developers here, I added
"Wicket.Window.unloadConfirmation = false;" in my page header to disable
those con
UPBrandon wrote:
I have a page that uses ModalWindows and I would like to disable the
JavaScript confirmation that is displayed when you try to leave the page
while a modal window is open. As recommended by developers here, I added
"Wicket.Window.unloadConfirmation = false;" in my page header to
sorry, i really just ran out of time writing the auth-roles package and so
it's closer to an example than something fully reusable. in my own projects
i don't use auth-roles exactly as is. instead, i use a Role enum and keep a
Set of those role objects in my User object stored via hibernate. y
Have you also tried the antiResourceLocking=true parameter?
That's the one I use and it works!
Pills wrote:
>
>
>
>
> Yes, I made a syntax error... but even with the syntax bellow, the
> problem stills...
>
> antiJARLocking=
What is the proper way to store objects into the request and retrieve them
in your page? Is this the correct way:
RequestCycle.get().getPageParameters().put("myObject", myObect);
And from my Page:
MyObject myObect =
(MyObect)getWebRequestCycle().getPageParameters().get("myObject");
And can you
what is the usecase of storing something in the request?
-igor
On Thu, Feb 14, 2008 at 5:02 PM, Warren <[EMAIL PROTECTED]> wrote:
> What is the proper way to store objects into the request and retrieve them
> in your page? Is this the correct way:
>
> RequestCycle.get().getPageParameters().put(
You can use request cycle metadata (RequestCycle.setMetaData)
-Matej
On Fri, Feb 15, 2008 at 2:45 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> what is the usecase of storing something in the request?
>
> -igor
>
>
>
> On Thu, Feb 14, 2008 at 5:02 PM, Warren <[EMAIL PROTECTED]> wrote:
> > Wha
I am storieng org.apache.wicket.security.hive.authorization.Principal
objects that are associated with why a user was denied access to a page. I
then want to access the names of these Principals from my "Accessed Denied"
page in order to construct a "Accessed Denied" message. I want to store
these
Maurice,
I had to make some changes in order for it to work. I added the Permission
names to the ManyToManyMap instead of the Permission itself and then query
the map by the Permission name. It would not return any Principals the
original way. The hive file I am testing with only has three Princip
Thanks. Had a million problems yesterday, thought it was because I ran
on a windoze box.
Raphaël Piéroni wrote:
This is because of the recent release of maven archetype 2.0-alpha-1 release.
Please consider calling the old plugin version the time for the maven
team to fix the problem.
mvn org.
It would be really cool to have such a feature.. Im, thinking on
wicket-auth here..
Ryan Sonnek wrote:
you can mount the wicket rss feed as a "bookmarkable url" and use a
filter to ensure security.
Not sure if wicket has the concept of "securing application resources"
currently built in?
On T
You could also take a look at the blog tutorial, has the solution for
this as I remember..
http://cwiki.apache.org/WICKET/blog-tutorial.html
From another example here:
final ApplicationContext context = new
ClassPathXmlApplicationContext(
"applicationContext.xml");
yep, use request cycle metadata - that is the quicker/cleanest way
-igor
On Thu, Feb 14, 2008 at 6:14 PM, Warren <[EMAIL PROTECTED]> wrote:
> I am storieng org.apache.wicket.security.hive.authorization.Principal
> objects that are associated with why a user was denied access to a page. I
> the
71 matches
Mail list logo