Re: Proposal: TabbedPanel variant that does all the work on the client

2009-11-08 Thread Ernesto Reinaldo Barreiro
The advantage of plain JavaScript is that then even people not wanting to
use jQuery for their projects can use it... All you need to do is create is
 JS functions that hide-show the the tabs... I'm not a JS expert but if you
put the code somewhere I can try to help with that part.

Best,

Ernesto

On Mon, Nov 9, 2009 at 1:17 AM, spam2...@meeque.de wrote:

> Hi Ernesto,
>
>
> > Is your implementation using jQuery? Then  maybe you should try to
> > contact someone behind some of the jQuery-Wicket related projects out
> > there and see if your component could feet on one of those projects.
>
> Yes, right now it's using jQuery. I'll have a look at jQuery-Wicket, and
> see if it fits in with it...
>
> > It would be nice, and not difficult to achieve I guess, to have that
> > component not depending on any JavaScript library, but simple an
> > plain JavaScript.
>
> I'd prefer that actually, although plain JavaScript is a little
> cumbersome. Is there not some small Wicket-specific JavaScript library I
> could build upon?
>
>
> Regards,
> Michael
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Proposal: TabbedPanel variant that does all the work on the client

2009-11-08 Thread spam2...@meeque.de
Hi Ernesto,


> Is your implementation using jQuery? Then  maybe you should try to
> contact someone behind some of the jQuery-Wicket related projects out
> there and see if your component could feet on one of those projects.

Yes, right now it's using jQuery. I'll have a look at jQuery-Wicket, and
see if it fits in with it...

> It would be nice, and not difficult to achieve I guess, to have that
> component not depending on any JavaScript library, but simple an
> plain JavaScript.

I'd prefer that actually, although plain JavaScript is a little
cumbersome. Is there not some small Wicket-specific JavaScript library I
could build upon?


Regards,
Michael


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Proposal: TabbedPanel variant that does all the work on the client

2009-11-08 Thread spam2...@meeque.de
Thanks for the advice Mike!

> You should:
> 
> 1. Get a sourceforge account.
> 2. Request on d...@wicket.apache.org to be given commit access to the
> wicketstuff repository.
> 
> I think 'wicketstuff-minis' might be the most suitable place for your
> code since it is fairly small. [...]

For now, I created a corresponding issue in Jira, and attached my code:
http://wicketstuff.org/jira/browse/WSMINIS-11

If you really want to grant me commit access, I'll put it into the SVN
myself. Here's my SourceForge user id: 2693911


Regards,
Michael


>> I'm pretty new on this list and I don't know if this is the right place
>> for such contributions. However, I recently developed a subclass of
>> TabbedPanel (from wicket-extensions) that IMHO may be useful for others,
>> so I'd like to share it.
>>
>> The main idea is that it's a drop-in replacement for TabbedPanel, but it
>> does all the work on the client side. That is, all the tab contents are
>> preloaded, and the user can switch between the tabs using client-side
>> JavaScript only. No additional HTTP Requests involved.
>>
>> The good thing is, that this fits in really neatly with all the other
>> TabbedPanel stuff. My new class ClientSideTabbedPanel is only a few
>> lines of Java and JavaScript code, and no markup. But it still supports
>> fallback, if JavaScript is deactivated.
>>
>> The main benefit of ClientSideTabbedPanel is that it is more responsive
>> when switching tabs. It may also be better in terms of search engine
>> optimization, since all the tab-contents are being indexed in one page.
>>
>> You can see it in action here for instance:
>> http://www.airline-direct.de/fluege/nach/London-LON
>>
>> So, how can I share this? Should I just post the code to this list?
>> Anyone interested at all?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org