Re: [Wicket-user] Can templates have an extension other than .html?

2007-04-21 Thread Eelco Hillenius
 In the same subject, is there a reason why
 wicket.markup.html.WebPage.getMarkupType() isn't final but
 wicket.markup.html.WebMarkupContainer.getMarkupType() is ?

Removed final for 1.3

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] html lang=en -- change lang?

2007-04-21 Thread Eelco Hillenius
 is it possible to change the attributes of the html-tag, too?

You should be able to attach a Wicket component to the html tag.

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] coordinating the html tabindex attribute

2007-04-21 Thread Eelco Hillenius
I see no problems with it. Sounds good.

Eelco

 We construct forms from panels and each panel has a set tabindex.  To
 keep this functionality consistent through the form we have
 implemented the following (credit where credit is due: not my work,
 one of my compatriots).

 
 *** Abstract class AthenaPage implements TabIndex
 (getTabIndex(),hasTabIndex(),resetTabIndex(),setHasTabIndex() )

 *** The AthenaPage implements TabIndex with the help of a
 DefaultTabIndexImpl (strategy)

 *** When a page has tab indexing, a call to setHasTabIndex(true) will
 ensure tab indexing is implemented on the page (as well
 resetTabIndex() will be called in onAfterRender() ).


 *** All components in com.vegas.ui.wicket.form have tabindex
 capabilities.  Basically all comonents override onComonentTag() and
 set the tabindex via an AttributeModifier if a call to the components
 setEnabledTabIndex(true) was called.  By default the page the
 component lives on will used as as PropertyModel.  The
 getTabIndex(tabindex) will be called and the tabindex attribute will
 be modified upon render.

 *** The nice trick is that each panel can define what order the
 components are in by simply setting tabindex=1, tabindex=3 as normal.
 The TabIndex stragey takes into account the templates tabindex
 attribute and knows the over all tabindex for the entire page so the
 new tabindex value for the component is in sync.
 

 Does anyone see any potential issues with the above, or are we
 re-inventing the wheel in any portion of the above?  In case anyone is
 interested, the canonical use case for us consists of an order for
 multiple items, each of which requires differing user data:

 hotel room: guest names  ages
 tickets to a show: name of person picking up the tickets, whether to
 print or hold at will-call
 another hotel room
 etc.

 Thank you,
 Scott

 --
 Scott Swank
 reformed mathematician

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] CATV data

2007-04-21 Thread Windows
Needs available in three editions, you. Ringer query manager net inspector. Ee 
mgsoft mib browser edition, which do need. Offering includes generic trace 
window not any other?
You asked yourself your particular this page!
Can be seamlessly contacted managed managing.
Need, fb, home news products amp, services sales.
Messages exchanged between agents displayed raw dump format decoded. Docsis 
based interested low level, by option current additional. Evaluate see customer 
from subscribe, mailing lists latest evaluation. Jubilee release compiler 
version for windows as. Today, protocol being introduced into. Full ietf more 
supporting, definitely operator does docsis.
Suitable my needs available in three. Dump format decoded therefore useful 
debugging.
Yourself your particular this page should provide definitive answer. Design kit 
network management toolbox, the th of our! Operator does docsis, based. Cannot 
properly, license if involved kind tutor, or! Problems cannot properly license 
if, involved.
Definitive answer question addition.
Wish work ultimate snmpv.


Current.gif
Description: GIF image
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Where to place images

2007-04-21 Thread nlif


Ah. Nice. I think I get it now.. it's a different approach, but then again,
maybe that's the wicket-way :)
I'll give it a shot and see how it works for me.

Thanks,
Naaman


John Krasnay wrote:
 
 You might consider referencing the image from a Panel, then just using
 the panel everywhere. In that case the image only needs to be kept in
 the package that defines the Panel.
 
 If it's something like a logo that appears at the top of every page, you
 could also define a base page that renders the logo, then have every
 other page extend your base page. In that case the image only needs to
 be in same package as the base page.
 
 In both cases, however, you do lose the ability to preview beyond the
 panel or base page. As with any web framework, there's only so far you
 can push previews. For me, though, the ability to package
 Java+html+images+css+javascript into one re-usable component far
 outweighs this limitation.
 
 jk
 
 On Thu, Apr 19, 2007 at 12:22:53AM -0700, nlif wrote:
 
 Let me make sure I understand: you suggest that I place the img files
 along
 with the html and java files?
 But what if I have images that are used in many places in the
 application?
 Do I keep multiple copies of that gif files?
 This seems hard to maintain...
 
 Naaman
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Where-to-place-images-tf3601705.html#a10118536
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] html lang=en -- change lang?

2007-04-21 Thread Jean-Baptiste Quenot
* Eelco Hillenius:
  is it possible to change the attributes of the html-tag, too?
 
 You should be able to attach a Wicket component to the html tag.

Or create an IMarkupFilter and register it using
Application.getMarkupSettings().setMarkupParserFactory()?
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] use images in pagingNavigator

2007-04-21 Thread Lec

Thanks Ryan


Ryan Holmes wrote:
 
 If you want to keep it simple and you don't mind using images served  
 from your context root, do something like:
 
 html xmlns:wicket
 body
wicket:panel
 img/navigation/first.png  nbsp;
img/navigation/prev.png  
  
  # 5/ 
 span 
  
img/navigation/next.png  nbsp;
img/navigation/last.png  
/wicket:panel
 /body
 /html
 
 If you want to package the images alongside your java and html files,  
 you could do what John Krasnay suggested (I haven't tried this myself  
 so I'm not sure if it's a 1.3 thing or if it also works in 1.2):
 
 ...
wicket:link first.png /wicket:link nbsp;
 ...
 
 The main point here is that you don't need to re-implement  
 PagingNavigator/AjaxPagingNavigator. Your subclass already inherits  
 all of the logic to create the navigation, links, etc. Just keep the  
 wicket id's and markup hierarchy intact in your html file.
 
 The only reason you would need to re-implement is if you actually  
 want to add new components to the links. But hopefully I just  
 demonstrated two ways to avoid that.
 
 -Ryan
 
 
 
 On Apr 21, 2007, at 12:40 AM, Lec wrote:
 

 If this is the case of implementation in the markup, then how do we  
 go about
 doing its implementation in Subclass of ajax paging navigator. Do  
 we need to
 combine its implementation with the AjaxPagingNavigation,
 AjaxPagingNavigationLink and AjaxPagingNavigationBehaviour all  
 together? how
 do these 3 objects combination of usage look like in the skeleton  
 code?
 Would like somebodyto give a pointer here. :) Thanks


 igor.vaynberg wrote:

 you can create a subclass of the paging navigator and override the  
 markup
 so
 it looks something like this:

 html xmlns:wicket
 body
   wicket:panel
   first.gif  nbsp;  prev.gif

# 5

   next.gif  nbsp;  last.gif
   /wicket:panel
 /body
 /html

 -Igor



 On 5/5/06, Potje rode kool [EMAIL PROTECTED] wrote:

 Hi,

 I have a page with a AjaxPagingNavigator which I use with a
 PageableListView to display some thumbnales of images,
 all working ok but I want to display an image (as a link) instead  
 of the
 arrows (like  or ), but how to do this? I am a bit lost on that.

 Thanks,
 Evert




 -- 
 View this message in context: http://www.nabble.com/use-images-in- 
 pagingNavigator-tf1562785.html#a10114659
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -- 
 ---
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/use-images-in-pagingNavigator-tf1562785.html#a10123282
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user