I agree that it's got plenty of uses. Actually, updating a list wouldn't be one of my first choices because I'd rather see the list's model get the update rather than the swing components... :)
If the action was a button and the change didn't affect the button itself, I don't think that this kind of removing/adding components will affect focus. -----Original Message----- From: Paul Libbrecht [mailto:[EMAIL PROTECTED] Sent: Sunday, November 06, 2005 4:31 PM To: Jakarta Commons Users List Subject: Re: [jelly] refillComponent tag ? (was Re: swing example) Le 6 nov. 05, à 19:48, Hans Gilde a écrit : > This solution wouldn't be the same as "tabs" or switching between > panels > using a menu. No but it has many many other usages... for example updating the display of a list as result of the push of an "add" or "remove" button... It might loose the focus but that's not entirely avoidable... > I have a bunch of tab stuff, including a proper <tabbedPane> with > <tabbedPaneTab> tags that I've been meaning to commit. Will get to it > some > day soon. That'd be quite lovely! paul > -----Original Message----- > From: Paul Libbrecht [mailto:[EMAIL PROTECTED] > Sent: Friday, November 04, 2005 8:05 AM > To: Jakarta Commons Users List > Subject: [jelly] refillComponent tag ? (was Re: swing example) > > Can other Jelly-Swing users comment on such a tag. It really looks to > be able to solve quite many issues I've met thus far. > > thanks > > paul > > > Le 3 nov. 05, à 21:35, Dário Luís Coneglian Oliveros a écrit : > [...] >> Regarding your reloadable strategy, I think it would be great to have >> something like that. We can discuss it later if you wish. >> [...] >>> Just thinking out loud, I seem to encounter that the following might >>> be >>> enough: >>> >>> <sw:frame> >>> blabla >>> <sw:panel var="myList"/> >>> </sw:frame> >>> >>> and somewhere else (e.g. as a child of action: >>> >>> <sw:refillComponent name="panel"> >>> <sw:label>casdasa</sw:label> >>> .... >>> </sw:refillComponent> >>> >>> That is, we would introduce a "target" element that would allow an >>> component to be cleared than repopulated by its content... >>> This seems suddenly pretty easy to implement compared to the >>> "reloadable" kind of things I expected. Would it fit your task ? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
