Please can anyone help me (urgent)

14 views
Skip to first unread message

samounas

unread,
May 4, 2010, 11:16:23 AM5/4/10
to Google Web Toolkit
i want to retrieve the value writed in the textBoxItem .Because i want
to put it in the value of the criteria .like this: new
criteria(field,value).
please can u tell me how can i retrieve this value.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

samounas

unread,
May 4, 2010, 11:21:02 AM5/4/10
to Google Web Toolkit
Can u help me please.

fomba collins

unread,
May 4, 2010, 11:31:53 AM5/4/10
to google-we...@googlegroups.com
use the method getValue()   
                           
   


--- On Tue, 5/4/10, samounas <elmokhta...@gmail.com> wrote:

From: samounas <elmokhta...@gmail.com>
Subject: Re: Please can anyone help me (urgent)
To: "Google Web Toolkit" <google-we...@googlegroups.com>
Date: Tuesday, May 4, 2010, 8:21 AM

Can u help me please.

On 4 mai, 15:16, samounas <elmokhtari.as...@gmail.com> wrote:
> i want to retrieve the value writed in the textBoxItem .Because i want
> to put it in the value of the criteria .like this: new
> criteria(field,value).
> please can u tell me how can i retrieve this value.
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsub...@googlegroups.com.

> For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

rudolf michael

unread,
May 4, 2010, 11:30:46 AM5/4/10
to google-we...@googlegroups.com
textBoxItem.getValue()?? have you tried this taking into account that textBoxItem is an instance of TextBox

samounas

unread,
May 4, 2010, 11:40:26 AM5/4/10
to Google Web Toolkit
thx for the answer.
but i have already tried "getvalue" than i got this error:

(Uncaught exception escaped :
com.google.gwt.core.client.JavaScriptException
(TypeError): self.getValue is not a function
fileName: http://localhost:8080
lineNumber: 195
stack: ()@http://localhost:8080:195
....)

this is my code:

numRequestItem = new TextItem("numRequest");
osiRequestDS = DataSource.get( "osiRequestDS" );
numRequestItem.setOptionDataSource(osiRequestDS);
numRequestItem.getValue();

updateButton.addClickHandler( new ClickHandler() {
public void onClick(final ClickEvent event) {

osiValuesManager.fetchData(new Criteria("numRequest",(String)
numRequestItem.getValue())); //numRequestItem.getValueField()
} //new Criteria(String field, String value)
} );

Can u help me please?

On 4 mai, 15:30, rudolf michael <roud...@gmail.com> wrote:
> textBoxItem.getValue()?? have you tried this taking into account that
> textBoxItem is an instance of TextBox
>
>
>
> On Tue, May 4, 2010 at 6:21 PM, samounas <elmokhtari.as...@gmail.com> wrote:
> > Can u help me please.
>
> > On 4 mai, 15:16, samounas <elmokhtari.as...@gmail.com> wrote:
> > > i want to retrieve the value writed in the textBoxItem .Because i want
> > > to put it in the value of the criteria .like this: new
> > > criteria(field,value).
> > > please can u tell me how can i retrieve this value.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > > To post to this group, send email to google-we...@googlegroups.com
> > .
> > > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .

rudolf michael

unread,
May 4, 2010, 11:51:37 AM5/4/10
to google-we...@googlegroups.com

rudolf michael

unread,
May 4, 2010, 11:52:30 AM5/4/10
to google-we...@googlegroups.com
this should work probably 

getValueFieldName

fomba collins

unread,
May 4, 2010, 11:53:18 AM5/4/10
to google-we...@googlegroups.com
if self is your TextField instance, then use: self.getValue(); and not sel.getValue  
                           
   


--- On Tue, 5/4/10, samounas <elmokhta...@gmail.com> wrote:

From: samounas <elmokhta...@gmail.com>
Subject: Re: Please can anyone help me (urgent)
To: "Google Web Toolkit" <google-we...@googlegroups.com>
> > google-web-toolkit+unsub...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>

> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsub...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>

> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsub...@googlegroups.com.

> For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

samounas

unread,
May 4, 2010, 12:04:52 PM5/4/10
to Google Web Toolkit
hi,
I replaced getvalue() in my code by getValueFieldName()

But i find agan the same error:

Uncaught exception escaped :
com.google.gwt.core.client.JavaScriptException
(TypeError): self.getValueFieldName is not a function
fileName: http://localhost:8080
lineNumber: 487

do u have please another solution?

On 4 mai, 15:30, rudolf michael <roud...@gmail.com> wrote:
> textBoxItem.getValue()?? have you tried this taking into account that
> textBoxItem is an instance of TextBox
>
>
>
> On Tue, May 4, 2010 at 6:21 PM, samounas <elmokhtari.as...@gmail.com> wrote:
> > Can u help me please.
>
> > On 4 mai, 15:16, samounas <elmokhtari.as...@gmail.com> wrote:
> > > i want to retrieve the value writed in the textBoxItem .Because i want
> > > to put it in the value of the criteria .like this: new
> > > criteria(field,value).
> > > please can u tell me how can i retrieve this value.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > > To post to this group, send email to google-we...@googlegroups.com
> > .
> > > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .

zinkronz network

unread,
May 4, 2010, 12:11:34 PM5/4/10
to google-we...@googlegroups.com
hello hai,

i got javascript

"<script type='text/javascript'> nuffnang_bid = '
ad8bbad67c3d4d242ebba049ce4c1c5e';  </script>  <script type='text/javascript' src='http://synad2.nuffnang.com.my/k.js'></script>"

this is like google addsense advertise program. i put this script in the gwt java

HTML test = new HTML(<script type='text/javascript'> nuffnang_bid = 'ad8bbad67c3d4d242ebba049ce4c1c5e';  </script>  <script type='text/javascript' src='http://synad2.nuffnang.com.my/k.js'></script>');

and put it in the horizontalpanel to project to the page.

the problem is.. this advetising banner is jump to another page. its clear all my website and just show this banner.

if i just put at the html pages... like main.html , the banner is work well

help me

buzz
Reply all
Reply to author
Forward
0 new messages