I have the same problem described on:
https://issues.apache.org/jira/browse/WICKET-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
SpringWebApplicationFactory cannot load WA from parent bean factory
I have tried the suggest workaround without result.
I'm use jdk 1.6.x, wic
sorry, dont really understand where your problem is...wicket-1189 has
been fixed a long time ago. are you saying the bug is back or
something else is a problem?
-igor
Now I'm not sure perhaps is only similar. :blush:
For the moment i have find a workaround to this problem I used the 3
I like use @SpringBean but i don't understand
why if i'm trying settings as serverlet or as a filter does not work.
what does this
addComponentInstantiationListener (new SpringComponentInjector (this));
have to do with whether or not you use a servlet or a filter? you
always have to do that f
How take a field to a form so that it can manage within submit on the same
form?
Form form=new Form("f");
form.add(new
RequiredTextField("integerInRangeProperty").add(NumberValidator.range(0,
100)));
form.add(new Button("execute") {
public void onSubmit() {
No problem.
I will try to use different names perhaps is more clearer.
Form:
Percentage: 20
Button: Execute
When i click on button Execute (on submit) i would like take 20 because i
wold like use this value.
Note:
Bruno you understand Italian?
I could be more clear in my language.
--
View
I have just read
http://cwiki.apache.org/WICKET/form-validation-messages.html Form validation
messages
Form form = new Form("f");
final TextField percentage = new TextField("percentage", percentageModel,
Integer.class);
percentage.add(new NumberValidator.MinimumValidator(1));
Thanks.
In this case is the easiest solution. :)
For more complex situations which system I can use to achieve the same
result?
Are there
NumberValidator.range(...,...) instead
Martijn
--
View this message in context:
http://www.nabble.com/How-can-force-always-the-same-error-message--tp18
I'm tried many times but nothing!
I can't customize message error. :,(
--
View this message in context:
http://www.nabble.com/How-can-force-always-the-same-error-message--tp18772519p18778125.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
package wicketapp;
import org.apache.wicket.markup.html.link.Link;
import org.apache.wicket.markup.html.panel.Panel;
/**
*
* @author alearchlinux
*/
public class LogoutPanel extends Panel {
public void LogoutPanel(String id) {
super(id);
.
}
}
I
Many Thanks!!! :handshake:
Martijn Dashorst wrote:
>
> remove the void before your constructor
>
> On 8/2/08, alex2008 <[EMAIL PROTECTED]> wrote:
>>
>> package wicketapp;
>>
>> import org.apache.wicket.markup.html.link.Link;
>>
@SpringBean
private ProductManager productManager;
//@Autowired
public void setProductManager(ProductManager productManager) {
this.productManager = productManager;
}
.
LoadableDetachableModel personListModel = new LoadableDetachableModel() {
@Overri
Thanks for the link.
I read the article but i don't understand how i can resolve the problem.
--
View this message in context:
http://www.nabble.com/Problem-on-external-LoadableDetachableModel-class-tp18797009p18798487.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
njector().inject(this);
>
> See also [1]
>
> Martijn
>
> [1]
> http://markmail.org/message/u7lgvd2azwpl3m4a#query:+page:1+mid:xzzx2cz6si36x7bz+state:results
>
> On Sun, Aug 3, 2008 at 3:10 PM, alex2008 <[EMAIL PROTECTED]> wrote:
>>
>> Thanks for t
1) On ListContactsPage.java:
// set up data provider
ContactsDataProvider dataProvider = new ContactsDataProvider(getDao());
There is a reference to getDao().
Where is declared this method?
2)
Image of the screen when happen the error expire page:
http://www.mediafire.com/imageview.php?quick
1.2.7.jar and
spring-1.2.6.jar
Perhaps this is the problem?
Thanks.
igor.vaynberg wrote:
>
> On Tue, Aug 5, 2008 at 8:51 AM, alex2008 <[EMAIL PROTECTED]> wrote:
>>
>> 1) On ListContactsPage.java:
>>
>> // set up data provider
>>
>> ContactsDataPr
Now I would try to use dataview then should I use the method
createSpringBeanProxy but since my application of departure does not extend
SpringWebApplication (i'm use WebApplication because the first and the
second system don't function)how can I do to move forward?
--
View this message in contex
I'm seeing spring-phonebook, i would like use dataview for obtain a list.
I'm read on ContactsDataProvider:
"note: it is important that the dao passed to the data provider be a proxy
from wicket-contrib-spring when used in non-testing environment.
"
Why do you have to use createSPringBe
Sorry. :blush:
--
View this message in context:
http://www.nabble.com/Questions-about-wicket-phonebook-1.2-tp18834046p18850595.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EM
Thanks. :-)
What you can do is inject (via @SpringBean) your "dao" into a
component/page. When that component/page constructs the data
provider, it can pass in the injected dao reference. That reference
will be okay to serialize/deserialize.
--
View this message in context:
http://www.nabble
This is the code:
public class ListProductPage extends WebPage {
public ListProductPage() {
add(new Link("createLink") {
/**
* Go to the Edit page when the link is clicked, passing an
empty
* Product details
*/
No i'm using wicket 1.3.4.
If there is a system to have a more simple code ...
are you using wicket 1.2???
-igor
--
View this message in context:
http://www.nabble.com/Help-on-create-a-list-with-dataview-tp18852545p18853703.html
Sent from the Wicket - User mailing list archive at Nabble.c
I'm trying to customize an example but without success if there is a better
way to get the same result with the 1.3.4 so much the better.
Which part of the code would be modify?
i guess i am wondering where this code came from? looks like code from
1.2...
--
View this message in context:
ht
It's possible use this version of wicket with a service injected on spring by
annotations?
--
View this message in context:
http://www.nabble.com/Wicket-1.3.4-and-Spring-annotations-tp18962935p18962935.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---
ou:
>
> http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite
>
> alex2008 wrote:
>> Is it possible use this version of wicket with a service injected on
>> spring
>> by annotations?
>>
>
> --
> -Wicket for love
>
public class WicketApplication extends WebApplication
{
public void init() {
addComponentInstantiationListener(new
SpringComponentInjector(this));
//mount("/Home", PackageName.forClass(Home.class));
}
..
public class Home extends WebPage {
25 matches
Mail list logo