Then i suggest you use another type of framework, like struts, spring or jsf
you cand use Anchor objects to link to another pages. or you can use a
native method and call $wnd.location = <your url>; (for buttons)

But i most insist, GWT was not designed to do request of another pages,


Regards,
_____________________
Ing. Gabriel Gutiérrez



On Fri, Jun 12, 2009 at 11:27 AM, Kinjal Khandhar <[email protected]
> wrote:

> Thanks to you both.
> For 1) Can you provide me with a sample piece of code that shows how to
> validate.Will it be a normal code at server side which will retrieve data
> from database validate at its side and return the result to client or
> validation needs to be done at client side.I am a bit confused and so asking
> you such silly questions.
>
> For 2) My team is not comfortable with the adding and removing
> components.Wont the form action solution work?My team wants to get the
> changed url and so I need to redirect the page.Ultimately I want to add the
> breadcrumbs functionality also.
>
> Please help me.
>
> Thanks in advance.
>
> -Kinjal
>
> On Fri, Jun 12, 2009 at 12:16 PM, <[email protected]> wrote:
>
>> First u need to do a rpc call in order to get to the server and do the db
>> validation an for the second u can do it but gwt is no intended to change to
>> another page everything should be doing in that page you shou add and remove
>> components from the page that's the hole idea, you sont have to waste time
>> asking the server to process a new page so u can show it, that's what u
>> normally do with other franework, but here u don't, is like doing a
>> awt/swing desktop app.
>>
>> Hope it helps,
>>
>> Sent from my BlackBerry® from Iusacell wireless device from Iusacell
>>
>> ------------------------------
>> *From*: Kinjal Khandhar
>> *Date*: Fri, 12 Jun 2009 11:40:14 -0400
>> *To*: <[email protected]>
>> *Subject*: Reading data from database and navigating to a different URL
>>
>>  Hello All,
>> I have two questions:
>>
>> 1. I have a login form with username,password and login button.Onlick of
>> login the validation should be done by retrieving data from TimesTen
>> Database.
>> I read the blog http://www.dariusz-borowski.com/wp/?p=47 but I want to
>> know how to do the validations without using hibernate.
>>
>> 2. This might be a silly question,but will be appreciable if anyone can
>> help me:
>>     I want to redirect the page to a new URL.I mean onclick of login if
>> the credentials are validated I want to navigate to a new URL.How can it be
>> done using GWT.
>>
>> Thanks in advance.
>>
>> -Kinjal
>>
>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to