Hi,
i'm trying to migration my application from wicket 1.4 to 6.13 and it seems
previously worked messages are no longer working.
my code uses somehting like this to add messages,
fatal(message);
can anyone describe what fatal() does since api documentation doesnt
describe it much. and also
Hi,
It is not clear what is broken from your description.
Is there a compilation error or the functionality doesn't work ?
Martin Grigorov
Wicket Training and Consulting
On Wed, Mar 5, 2014 at 10:47 AM, chathuraka.waas
chathuraka.w...@gmail.comwrote:
Hi,
i'm trying to migration my
Hi,
thanks for the reply. there are no compilation errors. the functionality
doesnt work as it used to be.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Component-fatal-String-message-doesnt-work-in-wicket-6-tp4664785p4664787.html
Sent from the Users forum mailing
Hi François,
unfortunately this does not have any affect.
Still have all messages in sequence on reloading.
kind regards
Patrick
Am 04.03.2014 17:03, schrieb francois meillet:
Session.get().getFeedbackMessages().clear();
François
On Tue, Mar 4, 2014 at 10:07 AM, Patrick Davids
Hi,
I don't know what is the idea behind #setMaxMessages(). I hoped someone
else would explain ...
To clear the messages you set to mark them as rendered:
fc = new FeedbackCollector(page);
fc.collect().foreach(fm - fm.markRendered()) // Java 8 syntax
You can put this code in some #onDetach()
I'm dealing with an issue that I'm sure has been solved by many people on
this list, but I'm struggling to ascertain the best way to solve it.
I'm working on implementing in-place-edit functionality for some of our
site content. The content is stored in a database and mapped via JPA. The
edit
Hi Chris,
I would go for option 4. This is how I implement such cases. It has an
explicit distinction between states 'previewMode' and 'commited Mode'.
Looks like more coding, but actually is clear about distinction
between preview and saved. And that would help the programmer that
picks
Hi Chris,
does the Guice's PersistFilter really automatically find and re-attach
the backed object in the request while leaving the in-place-edit situation?
I thought... as long as nothing/nobody finds and re-attach the backed
object, your changes are naturally temporary and only stored on page
Hi Patrick,
Thanks for the response.
does the Guice's PersistFilter really automatically find and re-attach
the backed object in the request while leaving the in-place-edit situation?
Guice doesn't do anything with whether the objects are attached - I'm
simply never detaching them (unless I
Hi Haiko,
Thanks for the response. You raise some good points - it certainly would be
cleaner and easier to understand. It also could be better for my layout,
given the way I've organized the code: The data layer is abstracted behind
a service API, so we could plug in a different storage engine
Hi,
I came across interesting problem:
I have one project which is packaged as .jar file along with all
required assets. The behavior inside this project is defined like this:
public class NprogressBehavior extends Behavior
{
@Override
public void renderHead(Component component,
Hi,
This should work fine.
Check that the .js file is properly packed in the .jar file next to
NprogressBehavior.class.
On Wed, Mar 5, 2014 at 5:41 PM, Vit Rozkovec rozkovec...@email.cz wrote:
Hi,
I came across interesting problem:
I have one project which is packaged as .jar file along
Sorry, I forgot to mention that there are no Java classes inside that
project, so is it even possible to reference those assets?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/css-and-js-files-in-subproject-tp4664775p4664799.html
Sent from the Users forum mailing
On Wednesday 05 March 2014 08:54:44 Martin Grigorov wrote:
BUT IT IS STILL STATIC, HOW I CAN MODIFY IT DINAMICALLY INTO THE JAVA CODE?
I am sorry but I am new in wicket and it results so difficult for me. In
PHP I can do it so quickly.
New in Wicket:
It should be possible.
See how PackageResourceReference looks up the asset by using the 'scope'
class to load it as a resource.
You can roll your own resource reference that loads from the class path:
AnyClass.class.getClassLoader().getResource(/some/absolute/path/my.css)
Martin Grigorov
Wicket
have a look here:
https://www.42lines.net/2011/12/01/simplifying-non-trivial-user-workflows-with-conversations/
-igor
On Wed, Mar 5, 2014 at 3:47 AM, Chris Snyder chris.sny...@biologos.org wrote:
I'm dealing with an issue that I'm sure has been solved by many people on
this list, but I'm
Thanks, Igor - that's very helpful. Not sure how I missed that article
while I was searching.
It would be a bit tricky to implement in my situation (as I described in
another response, the JPA implementation of the data storage is abstracted
behind a service API), but I could make it work -
Martin Grigorov-4 wrote
If the login page is really stateless then it will never throw
PageExpiredException.
It seems some component/behavior in the login page is stateful.
Use org.apache.wicket.devutils.stateless.StatelessChecker
(wicket-devutils)
or debug
Yes it is.
The file is in the package, checked the war and also the dir where war
contents are unpacked. Running on linux with Jetty webserver and Apache
as a proxy.
Also when inspecting page with firebug, it does not have altered name
with version number included as other resources have,
Thanks you very much. That worked very nicely. Good to not see the page
refreshing any more and the jerk that goes with it.
I always wondering what is the difference between 'setOutputMarkupId' and
'setOutputMarkupPlaceholderTag'. So this issue explains it. Can I always
use
you simple need to change where the entitymanager instance lives, and
control it via cdi conversation api. no need to expose any more of the
jpa stuff.
-igor
On Wed, Mar 5, 2014 at 9:06 AM, Chris Snyder chris.sny...@biologos.org wrote:
Thanks, Igor - that's very helpful. Not sure how I missed
Try to reproduce it in a quickstart and attach it to Jira.
Martin Grigorov
Wicket Training and Consulting
On Wed, Mar 5, 2014 at 7:13 PM, Vit Rozkovec rozkovec...@email.cz wrote:
Yes it is.
The file is in the package, checked the war and also the dir where war
contents are unpacked.
Try to reproduce it in a quickstart and attach it to Jira.
Martin Grigorov
Wicket Training and Consulting
On Wed, Mar 5, 2014 at 7:14 PM, Brad Grier brad.gr...@salusnovus.comwrote:
Martin Grigorov-4 wrote
If the login page is really stateless then it will never throw
PageExpiredException.
If you make a component invisible and want to make it visible later with
Ajax then you need setOutputMarkupPlaceholderTag
Martin Grigorov
Wicket Training and Consulting
On Wed, Mar 5, 2014 at 8:06 PM, msalman mohammad_sal...@yahoo.com wrote:
Thanks you very much. That worked very nicely.
Hi,
what you miss now are attribute modifiers to change the value of meta
tag attributes. For example if you want to change the content of
attribute 'content' you can use the following label and attribute modifier:
new Label(ogTitle).add(AttributeModifier.replace(content, Title for
On Wed, Mar 5, 2014 at 8:44 PM, Andrea Del Bene an.delb...@gmail.comwrote:
Hi,
what you miss now are attribute modifiers to change the value of meta tag
attributes. For example if you want to change the content of attribute
'content' you can use the following label and attribute modifier:
For the Frameworks Track Enthusiasts,
As you are no doubt aware, ApacheCon North America will be held in Denver,
Colorado starting on April 7th. Frameworks has 9 talks; check it out here:
http://apacheconnorthamerica2014.sched.org/overview/type/frameworks#.UxcbgYV9JUE
We would love to see
Martin Grigorov-4 wrote
Try to reproduce it in a quickstart and attach it to Jira.
Martin Grigorov
Wicket Training and Consulting
I created a quickstart using the Wicket Examples statelessform page as the
home page. If setRecreateMountedPagesAfterExpiry is false, the page expires
on form
Hi there,
I have an application that doesn’t need back-button support and also has
several domain objects that are not meant to be serialized. I thought it could
be a good idea to implement an IPageStore that skips serialization and simply
keeps the last n pages in memory (where n might be
Hi,
On Thu, Mar 6, 2014 at 9:29 AM, Tom Götz t...@decoded.de wrote:
Hi there,
I have an application that doesn’t need back-button support and also has
several domain objects that are not meant to be serialized. I thought it
could be a good idea to implement an IPageStore that skips
Hi,
Why not simply use LDMs to avoid entities serializations... Al my entities
are non-serializable. This way I ensure I never serialize one, which might
be dangerous as far as I can see.
On Thu, Mar 6, 2014 at 8:29 AM, Tom Götz t...@decoded.de wrote:
Hi there,
I have an application that
31 matches
Mail list logo