To stress this point: EntityManager should not be visible in Wicket
UI Eclipse Project namespace (classpath).
**
Martin
2009/6/5 Frank Tegtmeyer :
>> Putting the EntityManager in the Request means you
>> have to pass the Request around into your business logic layer.
>
> Ok, that's a convincing
and what browser are you planning to target...
When will be the day that 50-80% of the users are using a html5 browser...
On Fri, Jun 5, 2009 at 18:49, Igor Vaynberg wrote:
> what features are you referring to?
>
> -igor
>
> On Fri, Jun 5, 2009 at 5:32 AM, Gabriel
> Kastenbaum wrote:
> > Hi e
> Putting the EntityManager in the Request means you
> have to pass the Request around into your business logic layer.
Ok, that's a convincing point. Thank you.
Regards, Frank
-
To unsubscribe, e-mail: users-unsubscr...@wicket.
Hi Daniel, when I tried build web beans project I get the following error
[ERROR] BUILD FAILURE
[INFO]
[INFO] Compilation failure
C:\projects\webbeans\wicketwebbeans-databinder\src\main\java\com\googlecode\wick
etwebbeans\da
:-)
Tonio, my man. Thank you so much for your reply.
I'm looking for some alternatives.
I'll see to post (mail) my conclusions if any.
f(t)
On Fri, Jun 5, 2009 at 3:36 PM, Tonio Caputo wrote:
> Francisco,
>
> I'm not a wicket expert (as you know), the log4j configuration seems to be
> ok, so
Francisco,
I'm not a wicket expert (as you know), the log4j configuration seems to be
ok, so probably
the reason for the problem is in other place.
hope this helps
tonio
On Thu, Jun 4, 2009 at 5:18 PM, Francisco Diaz Trepat - gmail <
francisco.diaztre...@gmail.com> wrote:
> Hi all,
> I'm hav
what features are you referring to?
-igor
On Fri, Jun 5, 2009 at 5:32 AM, Gabriel
Kastenbaum wrote:
> Hi everyone,
>
> I was watching (part of) the video about google wave and they say it is full
> html5. It made me think of one thing, maybe html isn't "that" a thing of the
> past...
> Is there a
On Fri, Jun 05, 2009 at 04:28:07PM +0200, Frank Tegtmeyer wrote:
>
> > Don't fall into the trap of premature optimization!
>
> Hm. Maybe I'm in this trap already.
> But what is wrong with binding a resource directly to the request when
> it is used exactly for the lifetime of the request? For me
you can override the factory that creates the next link, and return a
link subclass that calls the javascript you want.
-igor
2009/6/5 新希望软件 -- 俞宏伟 :
> Hi, all
>
> I need to call javascript after jumping to the next page, how can I do this?
>
> i try to add Behavior to my ajaxpagingNavigator,
>
>
you can create a quickstart and attach it to a jira issue. its hard to
tell without having all the code.
-igor
On Thu, Jun 4, 2009 at 11:49 PM, Linda van der
Pal wrote:
> That is very strange, as this is the code in the domain model:
>
> public Set getFriends() {
> return friends;
> }
>
> You may find these of interest:
> http://javanotepad.blogspot.com/2007/08/managing-jpa-entitymanager-lifecycle.html
Yes, if I need that level of flexibility (which I don't need). I pay
with complexity of the implementation.
Anyway, this is a nice lesson, thanks for the link!
Regards, Frank
-
Frank Tegtmeyer wrote:
> would the Request object be a good place to store a JPA EntityManager?
> It would be created in onBeginRequest() and destroyed in
> onEndRequest() of the RequestCycle object.
You may find these of interest:
http://javanotepad.blogspot.com/2007/08/managing-jpa-entityman
Thanks so much for yoru response. I tried a few things from your response
and one solution solved the problem. I changed the ChoiceRenderer
constructor to include the "id" part. And it worked.
So here is the code:
form = new Form(
> But what is wrong with binding a resource directly to the request when
> it is used exactly for the lifetime of the request?
a) sounds complex
b) you are BINDING it.
The less you have dependencies on _specific_ bound components, the
better.. in general.
**
Martin
>
>
>
Set the expected value of the id part in your form model (the model
where the dropdown will store the submitted value).
when the dropdown renders it will use the existing value to preset the
choice.
In your code below, it looks like the model is created new every time.
for this to work, the
Hi,
I'm creating a standard Wicket Modal Window and adding a Panel to it using
modalWindow.setContent(new MyPanel(..));
The modal window pops up and displays a header but the content is completely
empty in Firefox. Everything works fine in Internet Explorer though. Have
anyone experienced the sam
Yes.
not to be rude, but your missing a bit of the concept of WIcket
here... the point is that the html *is* generic.
There are options for displaying table data fairly quickly, but in no
case (that I know of) are you going to get it for free without doing
anything at all.
I recommend you
> Don't fall into the trap of premature optimization!
Hm. Maybe I'm in this trap already.
But what is wrong with binding a resource directly to the request when
it is used exactly for the lifetime of the request? For me this only
sounds logical compared to the pragmatic approach using a ThreadL
Hi,
I'm using the latest snapshot of the YUI drag and drop component (a
YuiDDListView) for Wicket 1.4 rc4. The problem is that there seems to be a
bug in the code and the position parameter is lost. This means that where
ever you drop a component it will always end up at the first position in the
> I don't like this approach because it depends on the implicit assumption
> that each request is handled in a thread (this depends on Wicket
> implementation details, therefor I dislike it)
Don't fall into the trap of premature optimization!
**
Martin
--
I would just use a ThreadLocal variable in some static
EntityManagerUtil/Helper class.
**
Martin
2009/6/5 Frank Tegtmeyer :
> Hi,
>
> would the Request object be a good place to store a JPA EntityManager?
> It would be created in onBeginRequest() and destroyed in
> onEndRequest() of the RequestCy
Hi,
We are trying to add an option to an autocompletetextfield to allow showing
more alternatives if we have more suggestions than is actually shown. We
want to show this in either a new panel on the original page the
autocomplete is on or showing it in a modal window. In the process we have
copied
Hi,
would the Request object be a good place to store a JPA EntityManager?
It would be created in onBeginRequest() and destroyed in
onEndRequest() of the RequestCycle object.
I saw two other options already:
- use a filter in combination with Spring (I don't want to use Spring
yet - this woul
Hi everyone,
I was watching (part of) the video about google wave and they say it is full
html5. It made me think of one thing, maybe html isn't "that" a thing of the
past...
Is there any support of HTML 5 features planned for Wicket?
Have a good day,
Gabriel K.
This worked out for me:
*html*
[feedback]
*Java*
final Panel panel = new FeedbackPanel("feedbackPanel");
...
and then as necessary
panel.add(new SimpleAttributeModifier("class", "info"));
or
panel.add(new SimpleAttributeModifier("class", "error"));
danisevsky gmail.com> writes:
>
> Hi,
> I would like ask you when I can expect wicket 1.4 final release? I am asking
> because I am waiting for wicket web beans which will be release after filnal
> wicket 1.4 release.
> Thanks for answer.
>
Hi,
Wicket Web Beans has been updated to Wicket 1
I'm using the following custom tinymce javascript initialization (I
don't use the default which comes with wicket-tinymce, but put this
together manually). I override the image button of tinymce so the
callback can change the whole panel and display a selector one. The
user can use the selector pan
That is what I missed! That must be the solution. Thanks Igor
Jens
--
View this message in context:
http://www.nabble.com/Different-xml-property-filename-for-the-markup-and-java-tp23847329p23885796.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---
Great to hear..:)
What about some screen shots?
2009/6/4 Stefan Jozsa :
>
> Fixed!
>
> Last (minute/hour) version of WicketJQuery.jar helped, that is
> Wicketstuff-artwork is no more messed by JQuery based drag&drop.
>
> Thanks to Stefan Lindner,
>
> Stefan (Jozsa)
>
>
> --- On Thu, 6/4/09, Stefa
Hi, all
I need to call javascript after jumping to the next page, how can I do this?
i try to add Behavior to my ajaxpagingNavigator,
myAjaxpagingNavigator.add(new AbstractBehavior() {
@Override
public void renderHead(IHeaderResponse iHeaderResponse) {
30 matches
Mail list logo