|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Re: Re: index.jsp entry pointhello
our apps has a login page, roleSelction page and a main index(which contains tab & tabItems for the various BO) currently our index.jsp page has over 5000 lines!!! (way too much). There is an onLoad() method in the index page which inits the layout. My question is how can i intercept process , to only load the BO layouts I NEED??? Secondly funny, the onclick button actions are executed on every refresh!!! regards ___________________________ iAos LifeStream http://www.twitter.asemota.ch On 03.02.2009, at 21:12, "Cyril Balit" <cbalit@...> wrote: Hello, I confirm that the setVisible method works. But to hide the frame you have to myFrame.setVisible(false) Cause the booleean parameter represents the visible status of the frame Concerning the setEnable method it only change the enable state of the component Cyril --- In rialto-dev@..., osa <stefan.asemota@...> wrote: > > hi > Since frame is a subclass of abstractComponent then I could do this: > myFrame.setEnable(true) or > myFrame.setVisible(true) > but it does not work? > I would like to set a frame either invisible or disabled. Do u have any suggestions! > stefan > ___________________________ > iAos > > LifeStream > http://www.twitter.asemota.ch > > On 20.01.2009, at 09:50, "Cyril Balit" <cbalit@...> wrote: > > --- In rialto-dev@..., Saabir Osa <stefan.asemota@> wrote: > > Hello and happy new year!! > > Hello > > > Regarding the sequence , I hve not being able to do it yet, gots > lots of other coding to do (...enjoying rialto) > > > ok > > > I just hv 2 question regarding collapsable iframe, Is it possible to > integrate a collapsable frame in tab? > > yes you can. Just set the tab as parent of the frame. > > Can the loadLayout("lyt_name") be parameterized as in supply the > pixel postionning (has the advantage of reusable forms in various jsp! ) > > For now it can't. The function has no idea of the object she have to > instanciate. So she can't know how to set the position on it. But you > can make your custom function. Notice the loadLayout is deprecated. > You have to use now rialto.loadObject. This fucntion take 3 parameter: > -the name of the layout to instanciate > -a javascript object (this is if you have a direct reference on the > layout, set it to null else) > -a url: if this parameter is set then the function make a asynchronous > call to the url to get the layout (passing the name as parameter) and > then when the layout is loaded the function instanciate it > > Hope it will help > > Cyril > > > best regards > Stefan > > > > > ________________________________ > From: Cyril Balit <cbalit@> > To: rialto-dev@... > Sent: Saturday, November 29, 2008 10:31:22 AM > Subject: Re: [rialto-dev] Rialto: Internet Explorer 7 / Swtiching > tabs, content becomes unclear > > > Hello, > > I'm sorry but i can't reproduce it. > I send you my test file (Just update the rialto reference fot the > css and > the javascript file) > > http://www.nabble.com/file/p20745360/test.html test.html > > Try to make it again and tell me the sequence. > > Cyril > > > stefan.asemota wrote: > > Hi > I am newbie to rialto and i noticed that I have display problems > in IE 7 > > Probleme > --------- > Anytime I EVALUTATE A SEARCH IN A TAB_1 then switch tabs (from TAB_1 > to TAB_2) and back the TAB_1 CONTENTS are fuzzy/unclear!!! To view a > sample content: please go to : > http://www.asemota.ch/bw/fuzzyContent.jpg > Could anyOne help me out. > > would be happy for a quick reply > > > > > -- > View this message in context: > http://www.nabble.com/Rialto%3A-Internet-Explorer-7---Swtiching-tabs%2C-content-becomes-unclear-tp20701554p20745360.html > Sent from the Rialto-Development mailing list archive at Nabble.com. > > > ------------------------------------ > > Yahoo! Groups Links > > > > > ------------------------------------ > > Yahoo! Groups Links > |
|
|
Re: index.jsp entry pointHello,
Maybe you can use the rialto.loadObject(lName, vJS,url) where name is the name of the layout vJS id unuse I you specifie the third parameter((url)an asynchronous call is made to the server passing the name in the request. An the callback method try to evaluate the respone as javascript. If you use a jsp with rialto taglib (for the url parameter) the layout can be load using this function.... Cyril --- In rialto-dev@..., osa <stefan.asemota@...> wrote: > > hello > our apps has a login page, roleSelction page and a main index(which contains tab & tabItems for the various BO) > currently our index.jsp page has over 5000 lines!!! (way too much). > > There is an onLoad() method in the index page which inits the layout. My question is how can i intercept process , to only load the BO layouts I NEED??? > Secondly funny, the onclick button actions are executed on every refresh!!! > > regards > > ___________________________ > iAos > > LifeStream > http://www.twitter.asemota.ch > > On 03.02.2009, at 21:12, "Cyril Balit" <cbalit@...> wrote: > > Hello, > > I confirm that the setVisible method works. > > But to hide the frame you have to myFrame.setVisible(false) > > Cause the booleean parameter represents the visible status of the frame > > Concerning the setEnable method it only change the enable state of > > > Cyril > > --- In rialto-dev@..., osa <stefan.asemota@> wrote: > > > > hi > > Since frame is a subclass of abstractComponent then I could do this: > > myFrame.setEnable(true) or > > myFrame.setVisible(true) > > but it does not work? > > I would like to set a frame either invisible or disabled. Do u > > stefan > > ___________________________ > > iAos > > > > LifeStream > > http://www.twitter.asemota.ch > > > > On 20.01.2009, at 09:50, "Cyril Balit" <cbalit@> wrote: > > > > --- In rialto-dev@..., Saabir Osa <stefan.asemota@> wrote: > > > > Hello and happy new year!! > > > > Hello > > > > > > Regarding the sequence , I hve not being able to do it yet, gots > > lots of other coding to do (...enjoying rialto) > > > > > > ok > > > > > > I just hv 2 question regarding collapsable iframe, Is it possible to > > integrate a collapsable frame in tab? > > > > yes you can. Just set the tab as parent of the frame. > > > > Can the loadLayout("lyt_name") be parameterized as in supply the > > pixel postionning (has the advantage of reusable forms in various > > > > For now it can't. The function has no idea of the object she have to > > instanciate. So she can't know how to set the position on it. But you > > can make your custom function. Notice the loadLayout is deprecated. > > You have to use now rialto.loadObject. This fucntion take 3 parameter: > > -the name of the layout to instanciate > > -a javascript object (this is if you have a direct reference on the > > layout, set it to null else) > > -a url: if this parameter is set then the function make a asynchronous > > call to the url to get the layout (passing the name as parameter) and > > then when the layout is loaded the function instanciate it > > > > Hope it will help > > > > Cyril > > > > > > best regards > > Stefan > > > > > > > > > > ________________________________ > > From: Cyril Balit <cbalit@> > > To: rialto-dev@... > > Sent: Saturday, November 29, 2008 10:31:22 AM > > Subject: Re: [rialto-dev] Rialto: Internet Explorer 7 / Swtiching > > tabs, content becomes unclear > > > > > > Hello, > > > > I'm sorry but i can't reproduce it. > > I send you my test file (Just update the rialto reference fot the > > css and > > the javascript file) > > > > http://www.nabble.com/file/p20745360/test.html test.html > > > > Try to make it again and tell me the sequence. > > > > Cyril > > > > > > stefan.asemota wrote: > > > > Hi > > I am newbie to rialto and i noticed that I have display problems > > in IE 7 > > > > Probleme > > --------- > > Anytime I EVALUTATE A SEARCH IN A TAB_1 then switch tabs (from TAB_1 > > to TAB_2) and back the TAB_1 CONTENTS are fuzzy/unclear!!! To view a > > sample content: please go to : > > http://www.asemota.ch/bw/fuzzyContent.jpg > > Could anyOne help me out. > > > > would be happy for a quick reply > > > > > > > > > > -- > > View this message in context: > > > > Sent from the Rialto-Development mailing list archive at Nabble.com. > > > > > > ------------------------------------ > > > > Yahoo! Groups Links > > > > > > > > > > ------------------------------------ > > > > Yahoo! Groups Links > > > |
|
|
Re: Re: rialto.loadObject(lName, vJS,url)!!!Hi
I am interested by the "rialto.loadObject(lName, vJS,url)" where rialto.loadObject('layoutName', 'lytId','url'); <rialto:frame name="myForm"...> //loading my disired layout. loadObject('layoutName', 'lytId','url'); </rialto:frame> My question is how can I get back the value of the 'lytId' from the layout???? Would be happy if you could get back to me soonest!!! Cheers ________________________________ From: Cyril Balit <cbalit@...> To: rialto-dev@... Sent: Tuesday, February 17, 2009 11:37:03 PM Subject: [rialto-dev] Re: index.jsp entry point Hello, Maybe you can use the rialto.loadObject(lName, vJS,url) where name is the name of the layout vJS id unuse I you specifie the third parameter((url)an asynchronous call is made to the server passing the name in the request.. An the callback method try to evaluate the respone as javascript. If you use a jsp with rialto taglib (for the url parameter) the layout can be load using this function.... Cyril |
|
|
Re: rialto.loadObject(lName, vJS,url)!!!Hello,
In fact you don't have to use this parameter. It represents a javscript reference on the layout. Just set it to null. if you use an url as third parameter an asunchronous call is made to get the layout and the name is pass as parameter Cyril --- In rialto-dev@..., Saabir Osa <stefan.asemota@...> wrote: > > Hi > > I am interested by the "rialto.loadObject(lName, vJS,url)" where rialto.loadObject('layoutName', 'lytId','url'); > <rialto:frame name="myForm"...> > //loading my disired layout. > loadObject('layoutName', 'lytId','url'); > </rialto:frame> > > My question is how can I get back the value of the 'lytId' from the layout???? > > Would be happy if you could get back to me soonest!!! > Cheers > > > > > ________________________________ > From: Cyril Balit <cbalit@...> > To: rialto-dev@... > Sent: Tuesday, February 17, 2009 11:37:03 PM > Subject: [rialto-dev] Re: index.jsp entry point > > Hello, > > Maybe you can use the rialto.loadObject(lName, vJS,url) > > where name is the name of the layout > vJS id unuse > I you specifie the third parameter((url)an asynchronous call is made > to the server passing the name in the request.. An the callback method > try to evaluate the respone as javascript. If you use a jsp with > rialto taglib (for the url parameter) the layout can be load using > this function.... > > Cyril > |
|
|
Re: Re: rialto.loadObject(lName, vJS,url)!!!Hi
Thanks Well then how can I create a re-usable form that can be loaded from within 1 or more jsp's??? IMPORTANT is that the caller (jsp) send's an ID (which could be a string). this ID is then retreived in the re-usable form!!! thanks stefan ________________________________ From: Cyril Balit <cbalit@...> To: rialto-dev@... Sent: Wednesday, March 25, 2009 8:34:00 PM Subject: [rialto-dev] Re: rialto.loadObject(lName, vJS,url)!!! Hello, In fact you don't have to use this parameter. It represents a javscript reference on the layout. Just set it to null. if you use an url as third parameter an asunchronous call is made to get the layout and the name is pass as parameter Cyril --- In rialto-dev@..., Saabir Osa <stefan.asemota@....> wrote: > > Hi > > I am interested by the "rialto.loadObject(lName, vJS,url)" where rialto.loadObject('layoutName', 'lytId','url'); > <rialto:frame name="myForm"...> > //loading my disired layout. > loadObject('layoutName', 'lytId','url'); > </rialto:frame> > > My question is how can I get back the value of the 'lytId' from the layout???? > > Would be happy if you could get back to me soonest!!! > Cheers > > > > > ________________________________ > From: Cyril Balit <cbalit@...> > To: rialto-dev@... > Sent: Tuesday, February 17, 2009 11:37:03 PM > Subject: [rialto-dev] Re: index.jsp entry point > > Hello, > > Maybe you can use the rialto.loadObject(lName, vJS,url) > > where name is the name of the layout > vJS id unuse > I you specifie the third parameter((url)an asynchronous call is made > to the server passing the name in the request.. An the callback method > try to evaluate the respone as javascript. If you use a jsp with > rialto taglib (for the url parameter) the layout can be load using > this function.... > > Cyril > ------------------------------------ Yahoo! Groups Links |
|
|
Re: rialto.loadObject(lName, vJS,url)!!!Hello,
The rialto.loadObject function allow you to load dynamic content during execution. I f i understand your needs you just have to create a jsp that contain your re-usable form. Then you use include tags in the differents jsp in which you want to use the form. Like this you can pass your id parameter to the form jsp. Because if you use the rialto.loadObject the only parameter that is send to the server is the name (1st argument) of the layout you'r trying to load. Hope it will help you Cyril --- In rialto-dev@..., Saabir Osa <stefan.asemota@...> wrote: > > Hi > > Thanks > > Well then how can I create a re-usable form that can be loaded from within 1 or more jsp's??? IMPORTANT is that the caller (jsp) send's an ID (which could be a string). this ID is then retreived in the re-usable form!!! > > thanks > stefan > > > > ________________________________ > From: Cyril Balit <cbalit@...> > To: rialto-dev@... > Sent: Wednesday, March 25, 2009 8:34:00 PM > Subject: [rialto-dev] Re: rialto.loadObject(lName, vJS,url)!!! > > Hello, > > In fact you don't have to use this parameter. It represents a javscript reference on the layout. Just set it to null. > if you use an url as third parameter an asunchronous call is made to get the layout and the name is pass as parameter > > Cyril > > > --- In rialto-dev@..., Saabir Osa <stefan.asemota@> wrote: > > > > Hi > > > > I am interested by the "rialto.loadObject(lName, vJS,url)" where rialto.loadObject('layoutName', 'lytId','url'); > > <rialto:frame name="myForm"...> > > //loading my disired layout. > > loadObject('layoutName', 'lytId','url'); > > </rialto:frame> > > > > My question is how can I get back the value of the 'lytId' from the layout???? > > > > Would be happy if you could get back to me soonest!!! > > Cheers > > > > > > > > > > ________________________________ > > From: Cyril Balit <cbalit@> > > To: rialto-dev@... > > Sent: Tuesday, February 17, 2009 11:37:03 PM > > Subject: [rialto-dev] Re: index.jsp entry point > > > > Hello, > > > > Maybe you can use the rialto.loadObject(lName, vJS,url) > > > > where name is the name of the layout > > vJS id unuse > > I you specifie the third parameter((url)an asynchronous call is made > > to the server passing the name in the request.. An the callback method > > try to evaluate the respone as javascript. If you use a jsp with > > rialto taglib (for the url parameter) the layout can be load using > > this function.... > > > > Cyril > > > > > > > ------------------------------------ > > Yahoo! Groups Links > |
|
|
Re: index.jsp entry pointHi
You man Gilles is currently with us, finally found out why the combox "writeable/suggents" problem persists: The following items have not being added in the rialto tld asynchSuggest,timeForSuggest,urlForSuggest cheers |
| Free embeddable forum powered by Nabble | Forum Help |