Hi Dan,
I guess you were right with the thought process -
nivs wrote:
If you're still getting an LIE, there may be another association at play
(a child of Phone?).
I noticed that when I navigated, it was only when the PhoneType which was an
entity (if not a collection on Phone) of
Eelco
Thanks again for your thoughts. Inline with this, I will look at optimizing
it and intend to switch to using LDM's.
Cheers
Niv
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Hibernate-Related-LazyInitializationException-tp3068534p3076005.html
Sent from
I always try to identify logical groups and delegate creation
of those to separat private methods. And use Panels for reusability.
Hans, the private method trick should do it although the HomePage is still
lenghty.
regarding the panels: I'm using a lot of them. But for instantiation I
On Tue, Dec 7, 2010 at 5:08 AM, Peter Karich peat...@yahoo.de wrote:
Create components out of some of the groups of components that
logically belong together?
James, What do you mean here?
Basically...use Panels. As for the propagation of the events, you
could try using a more listenery
Hi,
Just to be curious:
Does someone know why the error method has another signature than the
info/fatal/final methods? And why don't they except IModelString objects
instead of String/Serializable?
public final void error(final Serializable message)
public final void fatal(final String
try {
...
} catch (RuntimeException e) {
error(e);
}
In FeedbackPanel you can preprocess any message.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Register-feedback-messages-tp3076561p3076662.html
Sent from the Users forum mailing list archive at Nabble.com.
Create components out of some of the groups of components that
logically belong together?
James, What do you mean here?
Basically...use Panels. As for the propagation of the events, you
could try using a more listenery approach, rather than doing the
abstract onClick() method, especially
On 12/05/2010 09:21 AM, Igor Vaynberg wrote:
the problem is in DecoratedEdit classs, the tmp variable is not
updated with converted input of the inner textfield, so
composeConvertedInput() incorrectly returns null when it should return
the converted input of the inner text component.
hi
I'm seeing some exceptions in my production log with this message
it could be that the component is inside a repeater make your component return
false in getStatelessHint()
What does this mean?
-
To unsubscribe, e-mail:
Hi,
I am using the wiQuery for the calendar now, but have some problems.
1) The page refreshes when I click in the field, then the datepicker appeares.
2) When I try to submit, it gives me an error: '1980-12-04' is not a valid Date.
DatePickerDate datefield = new DatePickerDate(datefield,
Hi,
I want to upload files with an Ajax form that is in a modal window
(using a Panel, not a WebPage). The modal and its form are part of the
main form:
main-page.html
form wicket:id=form
div wicket:id=modal /
input type=submit wicket:id=submit /
/form
upload-window.html
form wicket:id=form
just add
form.setMultiPart(true);
in your form
François
Le 7 déc. 2010 à 20:11, Cédric Thiébault a écrit :
Hi,
I want to upload files with an Ajax form that is in a modal window
(using a Panel, not a WebPage). The modal and its form are part of the
main form:
main-page.html
form
I've done this in the modal window form... And I set it to false for
the main form that is not used for uploading.
The upload works well, it's when my modal is closed, the main form
(not the one for the upload) throws an exception on submit.
Here is the code that I've attached to the Jira issue:
it has to be in the main form afaik
François
Le 7 déc. 2010 à 20:27, Cédric Thiébault a écrit :
I've done this in the modal window form... And I set it to false for
the main form that is not used for uploading.
The upload works well, it's when my modal is closed, the main form
(not the one
It is...
Here is the code...
HomePage.html
html
xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd;
body
div wicket:id=feedbackfeedback/div
form wicket:id=form
Input text: input type=text wicket:id=text size=40 /
br /
div
final FormBean formBean = new FormBean();
ModelFormBean model = new ModelFormBean(formBean);
FormFormBean form = new FormFormBean(form, model);
form.setMultiPart(false); should be true
add(form);
François
Le 7 déc. 2010 à 20:45, Cédric Thiébault a écrit :
It is...
You're right, it works :-)
So if I understand, all request will be multipart just because one of
theme needs to be multipart...
Thanks for your help François!
Cedric
2010/12/7 François Meillet fm...@meillet.com:
final FormBean formBean = new FormBean();
ModelFormBean model = new
Hi Anna,
I think you have to set the right converter on your wicket textfield (with
the override of the method getConverter and with the class
PatternDateConvert). The dateFormat option works only on the client side
with jQuery.
Regards
Julien Roche
On Tue, Dec 7, 2010 at 7:56 PM, Anna
Hi
If your getting the date format error from the Model side and it is
expecting a timestamp , then you might get that issue.
Are you using a TimeStamp field or pure date?
If I wanted only to store date in the backend without timestamp details my
model has to be decorated like
Hi.
Ok, I'm trying to go down the path of what I believe is being suggested
here. So this is what I have as the servlet so far:
{code}
public class HelloServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
@Autowired
private
On Tue, Dec 7, 2010 at 8:53 PM, exl eric@uwa.edu.au wrote:
Hi.
Ok, I'm trying to go down the path of what I believe is being suggested
here. So this is what I have as the servlet so far:
{code}
public class HelloServlet extends HttpServlet {
private static final long
Hello,
According to the JavaDoc: getStatelessHint():
*Description copied from class:
Componenthttp://static.ddpoker.com/javadoc/wicket/1.4-m1/org/apache/wicket/Component.html#getStatelessHint%28%29
* Returns whether the component can be stateless. Also the component
behaviors must be stateless,
Thanks for the reply. Sure - I can understand that if the client submits the
form directly to the separate servlet, then this would achieve the
background processing thread on the server side.
However, wouldn't this mean that the Wicket application loses control in
that client browser window,
If you use Wicket to process a request, it is going to synchronize on
the page map (up through 1.4.x). This means that any request that is
bound to a page (like a form, which is stateful) will result in
synchronization. The stateful forms in Wicket submit back to
themselves, which means they
On Tue, Dec 7, 2010 at 4:08 AM, Peter Karich peat...@yahoo.de wrote:
regarding the panels: I'm using a lot of them. But for instantiation I need
to
specify what to do onClick so I could reuse the panel in a different context
somewhen later.
I mean, when the panelA detects a click this is
Yes, that's a decorator pattern, which could a be good practice. You don't
use inheritance since you've just got a Panel, not a Page. So feel free to
go for that solution, I find it smart, too.
On Wed, Dec 8, 2010 at 7:51 AM, Jeremy Thomerson
jer...@wickettraining.comwrote:
On Tue, Dec 7,
26 matches
Mail list logo