You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Gerald Fernando <ge...@gmail.com> on 2009/08/03 07:14:48 UTC
Doubt please help me to clear
Hello Friends,
Could you please tell me things of
Wicket
Flex
what are the advantages of both.
what are the disadvandages.(Flex)
Comapre Flex and Wicket
Both are used to easy web development.
Flex is also has a good UI Development.(I came to know that)
--
Thanks®ards,
Gerald A
Re: How to display an error message?
Posted by Igor Vaynberg <ig...@gmail.com>.
/**
* Adds a component to the list of components to be rendered
*
* @param component
* component to be rendered
*/
public void addComponent(Component component)
i suggest you get sources or javadoc into your IDE so you can see it.
it will make your learning experience much better.
-igor
On Sun, Aug 2, 2009 at 11:56 PM, Gajo Csaba<cg...@i-rose.si> wrote:
> Thanks Igor, that was exactly what I needed to do. Could you tell me what
> does target.addComponent() do? It tells Wicket which component should be
> refreshed by the ajax request?
>
>
> Igor Vaynberg wrote:
>>
>> feedback.rendercomponent()???
>>
>> i assume this add button is an ajax button? in that case you have to
>> add the feedback panel to the ajax target passed to you. there are
>> plenty of examples in wicket-examples.
>>
>> -igor
>>
>> On Sun, Aug 2, 2009 at 11:23 PM, Gajo Csaba<cg...@i-rose.si> wrote:
>>
>>>
>>> Hello,
>>>
>>> I have a FeedbackPanel, a TreeTable and an Add button. When I click on
>>> the
>>> Add button, I check if there are any selected nodes in the tree. If there
>>> are none, I want to display an error message in the FeedbackPanel. How to
>>> do
>>> this?
>>>
>>> The following doesn't work:
>>> feedback.error("Select one node.");
>>>
>>> i've also tried re-rendering it, but it also didn't work:
>>> feedback.renderComponent();
>>>
>>> What is the proper way to display the error message?
>>>
>>> Regards,
>>> Csaba
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: How to display an error message?
Posted by Gajo Csaba <cg...@i-rose.si>.
Thanks Igor, that was exactly what I needed to do. Could you tell me
what does target.addComponent() do? It tells Wicket which component
should be refreshed by the ajax request?
Igor Vaynberg wrote:
> feedback.rendercomponent()???
>
> i assume this add button is an ajax button? in that case you have to
> add the feedback panel to the ajax target passed to you. there are
> plenty of examples in wicket-examples.
>
> -igor
>
> On Sun, Aug 2, 2009 at 11:23 PM, Gajo Csaba<cg...@i-rose.si> wrote:
>
>> Hello,
>>
>> I have a FeedbackPanel, a TreeTable and an Add button. When I click on the
>> Add button, I check if there are any selected nodes in the tree. If there
>> are none, I want to display an error message in the FeedbackPanel. How to do
>> this?
>>
>> The following doesn't work:
>> feedback.error("Select one node.");
>>
>> i've also tried re-rendering it, but it also didn't work:
>> feedback.renderComponent();
>>
>> What is the proper way to display the error message?
>>
>> Regards,
>> Csaba
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: How to display an error message?
Posted by Igor Vaynberg <ig...@gmail.com>.
feedback.rendercomponent()???
i assume this add button is an ajax button? in that case you have to
add the feedback panel to the ajax target passed to you. there are
plenty of examples in wicket-examples.
-igor
On Sun, Aug 2, 2009 at 11:23 PM, Gajo Csaba<cg...@i-rose.si> wrote:
> Hello,
>
> I have a FeedbackPanel, a TreeTable and an Add button. When I click on the
> Add button, I check if there are any selected nodes in the tree. If there
> are none, I want to display an error message in the FeedbackPanel. How to do
> this?
>
> The following doesn't work:
> feedback.error("Select one node.");
>
> i've also tried re-rendering it, but it also didn't work:
> feedback.renderComponent();
>
> What is the proper way to display the error message?
>
> Regards,
> Csaba
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
How to display an error message?
Posted by Gajo Csaba <cg...@i-rose.si>.
Hello,
I have a FeedbackPanel, a TreeTable and an Add button. When I click on
the Add button, I check if there are any selected nodes in the tree. If
there are none, I want to display an error message in the FeedbackPanel.
How to do this?
The following doesn't work:
feedback.error("Select one node.");
i've also tried re-rendering it, but it also didn't work:
feedback.renderComponent();
What is the proper way to display the error message?
Regards,
Csaba
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Doubt please help me to clear
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
> Which is suitable to create a financial Portal.
Both.
> In Flex we can easily create UI components.(I heared).
> shall we insert a flex graph in to wicket page?
Yes, you can also MIX, no problem. We have done that. Wicket site with
Flex Widgets. You can pick the best of both worlds.
**
Martin
>
>
>
>
> On Mon, Aug 3, 2009 at 10:53 AM, Martin Makundi <
> martin.makundi@koodaripalvelut.com> wrote:
>
>> Hi!
>>
>> Here are some fast points:
>>
>> Flex is client side FAT client. It runs on BROWSER.
>>
>> Wicket runs on SERVER.
>>
>> Flex can do graphics. You must know Flex.
>>
>> Wicket can do graphics. You must know HTML/JavaScript/CSS.
>>
>> Not all people ALLOW Flex in their browsers (minority, these days).
>>
>> In a way, SERVER side application is littlebit safer because FULL data
>> always remains on server. In Flex sometinmes programmer may compromise
>> and send critical data to CLIENT BROWSER.
>>
>> **
>> Martin
>>
>>
>> 2009/8/3 Gerald Fernando <ge...@gmail.com>:
>> > Hello Friends,
>> > Could you please tell me things of
>> >
>> > Wicket
>> > Flex
>> >
>> > what are the advantages of both.
>> > what are the disadvandages.(Flex)
>> > Comapre Flex and Wicket
>> >
>> > Both are used to easy web development.
>> > Flex is also has a good UI Development.(I came to know that)
>> >
>> >
>> >
>> > --
>> > Thanks®ards,
>> > Gerald A
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> --
> Thanks®ards,
> Gerald A
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Doubt please help me to clear
Posted by Andreas Petersson <an...@petersson.at>.
Gerald Fernando schrieb:
> Hi Martin
> Which is suitable to create a financial Portal.
> In Flex we can easily create UI components.(I heared).
> shall we insert a flex graph in to wicket page?
>
it depends on two things:
*) what do your developers know? do they know flex? then use flex. do
they know java + a bit of html+css? use wicket. or any other web
framework - although i doubt you will find a better one.
*) will the application be used in-house or also externally? if it is
going to be used externally, you should use wicket.
*) is there any prexisting code? if you already have rich flex
multimedia components written stick with them, it will be a ton of work
to port them to something else
*) will you need many complex data visualisations? flex is great at that.
*) how long-term is that project? wicket is open source, flex is closed
source. so it is save to say wicket will be around for a long time,
while flex will be around for as long as adobe supports it.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Doubt please help me to clear
Posted by Gerald Fernando <ge...@gmail.com>.
Hi Martin
Which is suitable to create a financial Portal.
In Flex we can easily create UI components.(I heared).
shall we insert a flex graph in to wicket page?
Thanks&Regards,
Gerald A
On Mon, Aug 3, 2009 at 10:53 AM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:
> Hi!
>
> Here are some fast points:
>
> Flex is client side FAT client. It runs on BROWSER.
>
> Wicket runs on SERVER.
>
> Flex can do graphics. You must know Flex.
>
> Wicket can do graphics. You must know HTML/JavaScript/CSS.
>
> Not all people ALLOW Flex in their browsers (minority, these days).
>
> In a way, SERVER side application is littlebit safer because FULL data
> always remains on server. In Flex sometinmes programmer may compromise
> and send critical data to CLIENT BROWSER.
>
> **
> Martin
>
>
> 2009/8/3 Gerald Fernando <ge...@gmail.com>:
> > Hello Friends,
> > Could you please tell me things of
> >
> > Wicket
> > Flex
> >
> > what are the advantages of both.
> > what are the disadvandages.(Flex)
> > Comapre Flex and Wicket
> >
> > Both are used to easy web development.
> > Flex is also has a good UI Development.(I came to know that)
> >
> >
> >
> > --
> > Thanks®ards,
> > Gerald A
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Thanks®ards,
Gerald A
Re: Doubt please help me to clear
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Hi!
Here are some fast points:
Flex is client side FAT client. It runs on BROWSER.
Wicket runs on SERVER.
Flex can do graphics. You must know Flex.
Wicket can do graphics. You must know HTML/JavaScript/CSS.
Not all people ALLOW Flex in their browsers (minority, these days).
In a way, SERVER side application is littlebit safer because FULL data
always remains on server. In Flex sometinmes programmer may compromise
and send critical data to CLIENT BROWSER.
**
Martin
2009/8/3 Gerald Fernando <ge...@gmail.com>:
> Hello Friends,
> Could you please tell me things of
>
> Wicket
> Flex
>
> what are the advantages of both.
> what are the disadvandages.(Flex)
> Comapre Flex and Wicket
>
> Both are used to easy web development.
> Flex is also has a good UI Development.(I came to know that)
>
>
>
> --
> Thanks®ards,
> Gerald A
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org