Re: [Wicket-user] Wicket With Acegi

2006-10-26 Thread sunraider

Thank you Eelco,

I have a requirement to do a database authentication / authorization as well
as LDAP based authentication so to begin with I have to first authenticate
the user and Acegi has a clean solution of using the ProviderManager
concept. It checks for ldap as well as db for user login. I am first trying
get this out. 

I want the user to login to the system it can be Acegi /j_security_check or
through Wicket login, but I want the user to be authenticated from the LDAP
too.

The work around I did was keeping the login.jsp and letting the user login
through the jsp and get authenticated. I know this is not an elegant
solution. 

Can you give me a sample of how the authorizationstrategy can be plugged in
for Acegi?

I will try to figure out the other part as I work with it in depth.

Thanks in advance.

Sunraider

Eelco Hillenius wrote:
 
 Nope, not at this time. How do you want to/ need to employ Acegi?
 URL-based authentication could be rather tricky to achieve, but if you
 just use the authorization model of Acegi, you should be able to plug
 in your own IAuthorizationStrategy that uses Acegi without too much of
 a hassle.
 
 Eelco
 
 
 On 10/20/06, Sajeev Nair [EMAIL PROTECTED] wrote:
 Hi,

 Are there any samples for Wicket with Acegi ? I am working on a project
 which requires me to work with Wicket and Acegi for security.

 Any help in this regard will be highly appreciated.

 Thanks in advance.

 Sunraider

 _
 Sexy, sultry, sensuous. - see why Bipasha Basu is all that and more. Try
 MSN
 Search http://server1.msn.co.in/Profile/bipashabasu.asp


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 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/Wicket-With-Acegi-tf2478230.html#a7005985
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Gwyn, Igor...any comments?

2006-10-26 Thread Igor Vaynberg
geoff, ive been extremely busy in the past few days so i havent had a chance to look at it although rest assured it is on my todo list.im not sure we need a default persistence mechanism - we are a web ui framework after all, but it would be very cool to have something akin to the databinder project but for wicket+shades.
-IgorOn 10/25/06, Geoff hendrey [EMAIL PROTECTED] wrote:
Hey Guys,I was wondering if you had a chance to checkout the integration of Shades with the Phonebook. Is there any way I can make shades more tightly integrated with Wicket?Does Wicket need a default persistence mechanism?
-geoff-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket With Acegi

2006-10-26 Thread Erik van Oosten
Hi,

Here is an example (we're using wicket-auth-roles).
We use Spring to inject the authentication manager into the application.

Regards,
 Erik.

--8--
public class MySession extends AuthenticatedWebSession {

  .. constructor, etc...

/**
 * Attempts to authenticate a user that has provided the given 
username and password.
 * @param username current username
 * @param password current password
 * @return codetrue/code if authentication succeeds, 
codefalse/code otherwise
 */
public boolean authenticate(String username, String password) {
String u = username == null ?  : username.trim();
String p = password == null ?  : password.trim();

// Create an Acegi authentication request.
UsernamePasswordAuthenticationToken authRequest = new 
UsernamePasswordAuthenticationToken(u, p);

// Attempt authentication.
try {
AuthenticationManager authenticationManager =
((MyApplication) 
getApplication()).getAuthenticationManager();
Authentication authResult = 
authenticationManager.authenticate(authRequest);

SecurityContextHolder.getContext().setAuthentication(authResult);
return true;
} catch (AuthenticationException e) {
// Clear the security context.
SecurityContextHolder.getContext().setAuthentication(null);
return false;
}
}

/**
 * Returns the current user roles.
 * @return current user roles
 */
public Roles getRoles() {
if (isSignedIn()) {
Roles roles = new Roles();
// Retrieve the granted authorities from the current 
authentication. These correspond one on
// one with user roles.
GrantedAuthority[] authorities = 
SecurityContextHolder.getContext().getAuthentication().getAuthorities();
for (int i = 0; i  authorities.length; i++) {
GrantedAuthority authority = authorities[i];
roles.add(authority.getAuthority());
}
return roles;
}
return null;
}
}
--8--



sunraider schreef:
 Can you give me a sample of how the authorizationstrategy can be plugged in
 for Acegi?

   

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Modal window with form

2006-10-26 Thread Matej Knopp

Can you please use the latest SVN version (or wait until 1.2.3 is out) 
to see if any of those issues persist?

-Matej

Marc-Andre Houle wrote:
 I got problems with a form in a Modal Window.
 In IE, it is not possible to pass from one field to the other with the 
 tab key.
 
 Step to reproduce :
  - get the quickstart package from the wicket site
  - Replace source file with what is given in this mail
  - Build, deploy, open in IE, click to open the modal window
  - Try to navigate in the form using the tab and shift-tab key.
 
 Is it a browser limitation or it is in the way wicket implement the 
 modal window?
 
 Also, related to this issue, when you are in Firefox, it is impossible 
 to see the cursor in the edit box.  The tab key work, but there is no 
 cursor associated.
 
 Thanks in advance.
 
 Marc
 
 
 
 
 Show modal dialog with panel
 
 
 field1:
 
 
 field2:
 
 
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] component internally generating AND binding wicket markup?

2006-10-26 Thread Wouter Huijnink
Hi list,

We have a domain class containing an XML string that needs to be 
transformed to XHTML, but we'd like to have a 2-phase transformation: an 
XSLT to generate wicket markup, and then a parsing and binding of this 
generated markup, using BookmarkablePageLink and other wicket components.

Is it possible to inject new markup elements into the wicket page 
representation, and bind these new elements to Component instances?

___
In more detail:
We want to display a domain class that has an XML string as one of its 
members:

public class DomainClass {
   private String title;
   private String introText;
   private String xml;

   ...
}

In order to properly display a DomainClass on a page, the xml needs to 
be transformed to XHTML. However, this XHTML is supposed to contain 
links to wicket pages that will have to be built by the transforming 
component, as we don't want the XSLT to contain hard-coded links.

XML:
e:text
e:p
e:asset src=happy-user.png/
/e:p
e:p
   Videbam enim plenam ecclesiam, et alius sic ibat, alius autem 
sic. mihi autem displicebat, quod agebam in saeculo, et oneri mihi erat 
valde, non iam  inflammantibus cupiditatibus, ut solebant, spe honoris 
et e:keyword-ref keyword-id=moneypecuniae/e:keyword-refpecuniae ad 
tolerandam illam servitutem tam gravem. iam enim me illa non 
delectabant, prae  ulcedine tua et decore domus tuae, quam dilexi;
/e:p
/e:text

the wicket markup for displaying a DomainClass would be
div wicket:id=domainClassOutput
span wicket:id=title class=titledomainClassTitle/spanbr /
span wicket:id=intro class=introdomainClassIntroText/spanbr /
span wicket:id=formattedText 
class=textdomainClassText/spanbr /
/div

The endresult we want for the XML transformation is:
p
img src=http://myserver/_img/happy-user.png; alt=happy user /
/p
p
   Videbam enim plenam ecclesiam, et alius sic ibat, alius autem 
sic. mihi autem displicebat, quod agebam in saeculo, et oneri mihi erat 
valde, non iam  inflammantibus cupiditatibus, ut solebant, spe honoris 
et a 
href=http://myserver/app/mountedBookmarkablePage/keyword/money;pecuniae/a 
ad tolerandam illam servitutem tam gravem. iam enim me illa non 
delectabant, prae  ulcedine tua et decore domus tuae, quam dilexi;
p

The easy way would be to use 1 XSLT, generating the above XHTML 
directly, using hardcoded URLs for images and internal links. We'd 
really prefer to use wicket components instead of hard coded links, 
though - so we'd need an intermediate, dynamic wicket markup like this:

p
img wicket:id=dynamicImage1 /
/p
p
   Videbam enim plenam ecclesiam, et alius sic ibat, alius autem 
sic. mihi autem displicebat, quod agebam in saeculo, et oneri mihi erat 
valde, non iam  inflammantibus cupiditatibus, ut solebant, spe honoris 
et a wicket:id=dynamicLink1pecuniae/a ad tolerandam illam 
servitutem tam gravem. iam enim me illa non delectabant, prae  ulcedine 
tua et decore domus tuae, quam dilexi;
p

which can be bound in the code by doing something like this:

[for each image that was found in the parsed xml]
WebMarkupContainer webMarkupContainer = new 
WebMarkupContainer(dynamicImgId);
webMarkupContainer.add(new AttributeModifier(src, true, new 
Model(getImagePath(imageName;
this.add(webMarkupContainer);

[for each keyword reference that was found in the parsed xml]
BookmarkablePageLink link = new BookmarkablePageLink(dynamicLinkId, 
KeywordPage.class);
this.add(link);


Any suggestions as to how to accomplish this?

Regards,
Wouter

-- 
Wouter Huijnink
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket With Acegi

2006-10-26 Thread sunraider

Thanks a million Erik. This will really help me to get going.

I really appreciate your quick response.

Sunraider



Erik van Oosten wrote:
 
 Hi,
 
 Here is an example (we're using wicket-auth-roles).
 We use Spring to inject the authentication manager into the application.
 
 Regards,
  Erik.
 
 --8--
 public class MySession extends AuthenticatedWebSession {
 
   .. constructor, etc...
 
 /**
  * Attempts to authenticate a user that has provided the given 
 username and password.
  * @param username current username
  * @param password current password
  * @return codetrue/code if authentication succeeds, 
 codefalse/code otherwise
  */
 public boolean authenticate(String username, String password) {
 String u = username == null ?  : username.trim();
 String p = password == null ?  : password.trim();
 
 // Create an Acegi authentication request.
 UsernamePasswordAuthenticationToken authRequest = new 
 UsernamePasswordAuthenticationToken(u, p);
 
 // Attempt authentication.
 try {
 AuthenticationManager authenticationManager =
 ((MyApplication) 
 getApplication()).getAuthenticationManager();
 Authentication authResult = 
 authenticationManager.authenticate(authRequest);
 
 SecurityContextHolder.getContext().setAuthentication(authResult);
 return true;
 } catch (AuthenticationException e) {
 // Clear the security context.
 SecurityContextHolder.getContext().setAuthentication(null);
 return false;
 }
 }
 
 /**
  * Returns the current user roles.
  * @return current user roles
  */
 public Roles getRoles() {
 if (isSignedIn()) {
 Roles roles = new Roles();
 // Retrieve the granted authorities from the current 
 authentication. These correspond one on
 // one with user roles.
 GrantedAuthority[] authorities = 
 SecurityContextHolder.getContext().getAuthentication().getAuthorities();
 for (int i = 0; i  authorities.length; i++) {
 GrantedAuthority authority = authorities[i];
 roles.add(authority.getAuthority());
 }
 return roles;
 }
 return null;
 }
 }
 --8--
 
 
 
 sunraider schreef:
 Can you give me a sample of how the authorizationstrategy can be plugged
 in
 for Acegi?

   
 
 -- 
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 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/Wicket-With-Acegi-tf2478230.html#a7007422
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket-CMS Templates

2006-10-26 Thread glanzel
Hi



I would strongly recommend a version with wicket templates.

Wouldn't it be the most important reasons for using a Wicket CMS   that you 
don't have to deal

with any scripting language but plain html ?

So I would prefer Number 2 (use Wicket templates, but create additional, CMS 
specific tags for 

'auto-include' of components.)



Greeting grischan



Perhaps we need to define the problem better...


A typical article has an author, date written, date last modified,
tags, content, summary, keywords, title, subtitle, etc.

Some people like to show everything on their blogs, so you get in a
Wicket template:

div wicket:id=article
h1 wicket:id=title[title]/h1
div wicket:id=header
span wicket:id=author/span
span wicket:id=lastModified/span
span wicket:id=published/span
/div
div wicket:id=content/div
/div

Now if someone doesn't like the author, then they would in a PHP world
just remove the declaration...

In Wicket, we have a component hierarchy where the components need to
line up. Remove a component definition form the markup, then you have
to modify the Java code as well...

How do we solve this?

1. use Wicket templates, but use blocks, which are panels. In an admin
interface you get to modify the visibility flag of the blocks on the
template. The template's hierarchy remains fixed, but you can modify
it to some extent.

2. use Wicket templates, but create additional, CMS specific tags for
'auto-include' of components.

3. drop Wicket type templates but rely on a specific templating
solution altogether, and use Wicket for the maintenance screens

Martijn


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] component internally generating AND binding wicket markup?

2006-10-26 Thread Juergen Donnerstag
In V2.0 it will be possible by subclassing getMarkupFragment(String
id). Don't think it'll be easy in 1.2

Juergen

On 10/26/06, Wouter Huijnink [EMAIL PROTECTED] wrote:
 Hi list,

 We have a domain class containing an XML string that needs to be
 transformed to XHTML, but we'd like to have a 2-phase transformation: an
 XSLT to generate wicket markup, and then a parsing and binding of this
 generated markup, using BookmarkablePageLink and other wicket components.

 Is it possible to inject new markup elements into the wicket page
 representation, and bind these new elements to Component instances?

 ___
 In more detail:
 We want to display a domain class that has an XML string as one of its
 members:

 public class DomainClass {
   private String title;
   private String introText;
   private String xml;

   ...
 }

 In order to properly display a DomainClass on a page, the xml needs to
 be transformed to XHTML. However, this XHTML is supposed to contain
 links to wicket pages that will have to be built by the transforming
 component, as we don't want the XSLT to contain hard-coded links.

 XML:
 e:text
e:p
e:asset src=happy-user.png/
/e:p
e:p
   Videbam enim plenam ecclesiam, et alius sic ibat, alius autem
 sic. mihi autem displicebat, quod agebam in saeculo, et oneri mihi erat
 valde, non iam  inflammantibus cupiditatibus, ut solebant, spe honoris
 et e:keyword-ref keyword-id=moneypecuniae/e:keyword-refpecuniae ad
 tolerandam illam servitutem tam gravem. iam enim me illa non
 delectabant, prae  ulcedine tua et decore domus tuae, quam dilexi;
/e:p
 /e:text

 the wicket markup for displaying a DomainClass would be
 div wicket:id=domainClassOutput
span wicket:id=title class=titledomainClassTitle/spanbr /
span wicket:id=intro class=introdomainClassIntroText/spanbr /
span wicket:id=formattedText
 class=textdomainClassText/spanbr /
 /div

 The endresult we want for the XML transformation is:
 p
img src=http://myserver/_img/happy-user.png; alt=happy user /
 /p
 p
   Videbam enim plenam ecclesiam, et alius sic ibat, alius autem
 sic. mihi autem displicebat, quod agebam in saeculo, et oneri mihi erat
 valde, non iam  inflammantibus cupiditatibus, ut solebant, spe honoris
 et a
 href=http://myserver/app/mountedBookmarkablePage/keyword/money;pecuniae/a
 ad tolerandam illam servitutem tam gravem. iam enim me illa non
 delectabant, prae  ulcedine tua et decore domus tuae, quam dilexi;
 p

 The easy way would be to use 1 XSLT, generating the above XHTML
 directly, using hardcoded URLs for images and internal links. We'd
 really prefer to use wicket components instead of hard coded links,
 though - so we'd need an intermediate, dynamic wicket markup like this:

 p
img wicket:id=dynamicImage1 /
 /p
 p
   Videbam enim plenam ecclesiam, et alius sic ibat, alius autem
 sic. mihi autem displicebat, quod agebam in saeculo, et oneri mihi erat
 valde, non iam  inflammantibus cupiditatibus, ut solebant, spe honoris
 et a wicket:id=dynamicLink1pecuniae/a ad tolerandam illam
 servitutem tam gravem. iam enim me illa non delectabant, prae  ulcedine
 tua et decore domus tuae, quam dilexi;
 p

 which can be bound in the code by doing something like this:

 [for each image that was found in the parsed xml]
 WebMarkupContainer webMarkupContainer = new
 WebMarkupContainer(dynamicImgId);
 webMarkupContainer.add(new AttributeModifier(src, true, new
 Model(getImagePath(imageName;
 this.add(webMarkupContainer);

 [for each keyword reference that was found in the parsed xml]
 BookmarkablePageLink link = new BookmarkablePageLink(dynamicLinkId,
 KeywordPage.class);
 this.add(link);


 Any suggestions as to how to accomplish this?

 Regards,
 Wouter

 --
 Wouter Huijnink
 Func. Internet Integration
 W http://www.func.nl
 T +31 20 423
 F +31 20 4223500


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Role authorization per page

2006-10-26 Thread ChuckDeal

Damn it!  I was this close holds fingers a hair-width apart.  

I modified my MetaDataComponentProtector class (very close to the
MetaDataRoleAuthorizationStrategy, but I need to store a Predicate
(commons-collections) with the action for dynamic evaluation) to be an
IAuthorizationStrategy removed the onBeforeRender and it worked nearly the
same way.  I had trouble my first pass through using the Auth strategy but
I'm sure it was with other stuff I was doing.

I wasn't actually using the List to mark components as protected, I was
basically using it to limit the components that I evaluated.  That's why I
didn't have to make too many changes... sweet!

Thanks
Chuck


Eelco Hillenius wrote:
 
 Concerning your case, I would still do it a bit differently. It's the
 old push vs pull thing. You decided to push the info you need by
 overriding onBeforeRender (also consider onAttach btw), visiting the
 children and push any state in them that will be accessed again when
 rendering. Why not turn that around? When the components are being
 rendered (which works as visiting in itself btw), you should have the
 same information available as with your visit action. Why not, instead
 of having that visit method interpret the authorization, convert it to
 the proper meta data, which is then interpreted by the auth strategy,
 just let the auth strategy interpret directly? The advantages of that
 is that it keeps everything more simple (you don't need the meta
 data), cheap in CPU and memory, and you'll only evaluate the
 components that are actually rendered (otherwise, your visit should
 filter on visible and enabled).
 
 Just my 2c,
 
 Eelco
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 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/Role-authorization-per-page-tf2453766.html#a7010177
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Modal window with form

2006-10-26 Thread Marc-Andre Houle
Problem solved in the latest build.Thanks a lot.On 10/26/06, Marc-André Houle [EMAIL PROTECTED] wrote:
Yeah, sorry to not have said it before, I use wicket 1.2.2.How long until 1.2.3?If it is a matter of days, I'll wait to
integrate with our application.If long, I'll check the svn versionwith the example I submitted here.MarcLe 06-10-26 à 03:13, Matej Knopp a écrit : Can you please use the latest SVN version (or wait until 
1.2.3 is out) to see if any of those issues persist? -Matej Marc-Andre Houle wrote: I got problems with a form in a Modal Window. In IE, it is not possible to pass from one field to the other with
 the tab key. Step to reproduce :- get the quickstart package from the wicket site- Replace source file with what is given in this mail
- Build, deploy, open in IE, click to open the modal window- Try to navigate in the form using the tab and shift-tab key. Is it a browser limitation or it is in the way wicket implement the
 modal window? Also, related to this issue, when you are in Firefox, it is impossible to see the cursor in the edit box.The tab key work, but there
 is no cursor associated. Thanks in advance. Marc - ---
 Show modal dialog with panel - --- field1:
 field2: - --- -
  Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642
 - --- ___ Wicket-user mailing list
 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
 -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your
 job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] How to use links from an evicted page?

2006-10-26 Thread Erik van Oosten
Hi,

Is there some way to use links on a page that has been evicted from the 
pagemap?

Here is my use-case. On the home page of the application I am using the 
AjaxFallbackLink to replace components. From the home page the user 
might go back and forth between several (bookmarkable) pages, going back 
with the back button. If the user then clicks on the ajax link, the 
homepage has been evicted from the pagemap and the link no longer works. 
However, it would be easy for me to rebuild the home page.

Is the latter possible? Or should I prevent the homepage from being 
evicted at all? But then how does that work when there are multiple 
versions of the homepage?

I'd appreciate any insight or references,
  Erik.


-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] why is isRenderAllowed() protected?

2006-10-26 Thread ChuckDeal

I am defining a panel, which is visible only if at least one of its children
is visible.  So, it's isVisble() method calls visitChildren() with a visitor
that returns true as soon as it finds a visible child or null otherwise. 
This worked until I started using an AuthorizationStrategy, now I also need
to check isRenderAllowed(), but it is protected.  I looked at
isVisibleInHierarchy(), but it goes through the component's ancestors and,
in my case, causes an infinite loop.

So, why is isRenderAllowed() protected when isEnabledAllowed() is public?

or maybe a better question

Is there a better way to do this visibility check?

Thanks
Chuck
-- 
View this message in context: 
http://www.nabble.com/why-is-isRenderAllowed%28%29-protected--tf2514044.html#a7011351
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to use links from an evicted page?

2006-10-26 Thread Johan Compagner
in 2.0 all pages will be stored on the hd as long as the session is alive so the homepage will be always thereBut are you saying that the users goes back 5 pages? Because that is currently the default threshold of the pages that are kept in the page (
1.2)In 2.0 you could use a stateless link that will construct the page again when not found and then call the onClick method. But in 1.2 if the page is goneit is gone and an interface call can not reconstruct it.
if you really want to hack then you could hold your homepage in your sessionwhat you could do is touch the homepage when a request comes in for that homepage... in for example in your own RequestCycle.attach()
But that would be pretty hackyjohanOn 10/26/06, Erik van Oosten [EMAIL PROTECTED] wrote:
Hi,Is there some way to use links on a page that has been evicted from the
pagemap?Here is my use-case. On the home page of the application I am using theAjaxFallbackLink to replace components. From the home page the usermight go back and forth between several (bookmarkable) pages, going back
with the back button. If the user then clicks on the ajax link, thehomepage has been evicted from the pagemap and the link no longer works.However, it would be easy for me to rebuild the home page.Is the latter possible? Or should I prevent the homepage from being
evicted at all? But then how does that work when there are multipleversions of the homepage?I'd appreciate any insight or references,Erik.--Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] why is isRenderAllowed() protected?

2006-10-26 Thread ChuckDeal

It goes into an infinite loop because I define the parent component's
isVisble() to be the result of visiting the children and calling their
isVisbleInHierarchy() which will in turn call the parent's isVisble() which
is the result of the childrens's ... and on and on

isVisbleInHierarchy is not a straight replacement for using (isVisble() 
isRenderAllowed())

Chuck


Johan Compagner wrote:
 
 why comes it in an infinite loop??
 
 i think one is protected because that one has an alternative
 isVisibleInHierarchy()
 
 
 johan
 
 
 
 On 10/26/06, ChuckDeal [EMAIL PROTECTED] wrote:


 I am defining a panel, which is visible only if at least one of its
 children
 is visible.  So, it's isVisble() method calls visitChildren() with a
 visitor
 that returns true as soon as it finds a visible child or null otherwise.
 This worked until I started using an AuthorizationStrategy, now I also
 need
 to check isRenderAllowed(), but it is protected.  I looked at
 isVisibleInHierarchy(), but it goes through the component's ancestors
 and,
 in my case, causes an infinite loop.

 So, why is isRenderAllowed() protected when isEnabledAllowed() is public?

 or maybe a better question

 Is there a better way to do this visibility check?

 Thanks
 Chuck
 --
 View this message in context:
 http://www.nabble.com/why-is-isRenderAllowed%28%29-protected--tf2514044.html#a7011351
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 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/why-is-isRenderAllowed%28%29-protected--tf2514044.html#a7011723
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket-auth-roles proposed change

2006-10-26 Thread Erik van Oosten
Hi,

I was just looking at the issue tracker at 
http://issues.apache.org/jira/browse/WICKET to submit a change request 
for wicket-auth-roles. However I do not see under which project it 
should be put. In fact I can not find wicket-auth-roles on 
http://wicketframework.org at all!

My idea is to change InstantiationPermissions#authorizedRoles to:
// TODO: make java 5 code by inserting generics again
public Roles authorizedRoles(final Class componentClass) {
if (componentClass == null) {
throw new IllegalArgumentException(Argument componentClass 
cannot be null);
}

Class c = componentClass;
while (Component.class.isAssignableFrom(c)  
!rolesForComponentClass.containsKey(c)) {
c = c.getSuperclass();
}
return (Roles) rolesForComponentClass.get(c);
}

This way you can define authorization rules on base classes and all 
sub-classes will automatically inherit these authorization rules. It is 
easy to override this by explicitly adding authorization rules for a 
subclass.

Regards,
  Erik.


-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Erik Brakkee
Hi, In many cases, it is useful to define an application wide Panel for commonly recurring parts of the user interface. Nevertheless, sometimes, it is necessary to vary only the presentation of a Panel. 
As far as I understand it, the Panel is always associated with one html template with the same name as the panel. Hence, my question is how I can easily vary the html template for a specific instance of a panel without changing it application wide. Most easy would be sometihing like this: 
// with the default HTML template
Panel p = new Panel(); // with a template different from the default. Panel p = new Panel(); p.setTemplate(xyz.html); // with a class path resourceInputStream is = ...; p.setTemplate(is); // with a template in an input stream. 
Is something like this already possible? Cheers Erik
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Pierre-Yves Saumont
Use styles. You can have several templates with different extensions, 
for example loginPanel_liquid.html and loginPanel_icy.html.

Then, when you switch style from liquid to icy, Wicket will 
automatically select the appropriate template.

Pierre-Yves

Erik Brakkee a écrit :
 Hi,
 
 
 In many cases, it is useful to define an application wide Panel for 
 commonly recurring parts of the user interface. Nevertheless, sometimes, 
 it is necessary to vary only the presentation of a Panel.
 
 As far as I understand it, the Panel is always associated with one html 
 template with the same name as the panel.
 
 Hence, my question is how I can easily vary the html template for a 
 specific instance of a panel without changing it application wide. Most 
 easy would be sometihing like this:
 
 // with the default HTML template
 Panel p = new Panel();
 
 // with a template different from the default.
 Panel p = new Panel();
 p.setTemplate(xyz.html); // with a class path resource
 InputStream is = ...; p.setTemplate(is); // with a template in an input 
 stream.
 
 Is something like this already possible?
 
 Cheers
   Erik
 
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Erik van Oosten
Hi Erik,

 As far as I understand it, the Panel is always associated with one 
 html template with the same name as the panel.
Actually this is not true. You can work with styles and variations. I 
have never done myself, but you can do something like:

class MyPanel extends Panel {
 public String getVariation() {
return new Random().nextBool() ? abc : xyz;
 }
}
and have the templates MyPanel_abc.html and MyPanel_xyz.html.

Have fun,
 Erik.


Erik Brakkee schreef:
 Hi,


 In many cases, it is useful to define an application wide Panel for 
 commonly recurring parts of the user interface. Nevertheless, 
 sometimes, it is necessary to vary only the presentation of a Panel.

 As far as I understand it, the Panel is always associated with one 
 html template with the same name as the panel.

 Hence, my question is how I can easily vary the html template for a 
 specific instance of a panel without changing it application wide. 
 Most easy would be sometihing like this:

 // with the default HTML template
 Panel p = new Panel();

 // with a template different from the default.
 Panel p = new Panel();
 p.setTemplate(xyz.html); // with a class path resource
 InputStream is = ...; p.setTemplate(is); // with a template in an 
 input stream.

 Is something like this already possible?

 Cheers
   Erik

-- 
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] embed src ... /

2006-10-26 Thread Michael Welter
I have an html table with several columns.  One column is an audio 
recording:

 tr wicket:id=responses class=even
   tdembed wicket:id=recording type=audio/x-wav src= 
height=50 width=100 autostart=false//td
   tdspan wicket:id=titleTitle/span/td
   tdspan wicket:id=descriptionDescription/span/td 
   tdspan wicket:id=textText/span/td
 /tr

In some instances there is no audio recording.  With no recording I send 
Label(recording,), and this results in the display of the QuickTime 
logo with a question mark (the src tag is empty).

Is there some way to manipulate the html in the case of no recording?  I 
would like to be able to remove the embed / tag altogether and just 
have an empty td/ cell.

Thanks



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Pierre-Yves Saumont
I forgot this:

to switch styles, use Session.setStyle().

Pierre-Yves

Pierre-Yves Saumont a écrit :
 Use styles. You can have several templates with different extensions, 
 for example loginPanel_liquid.html and loginPanel_icy.html.
 
 Then, when you switch style from liquid to icy, Wicket will 
 automatically select the appropriate template.
 
 Pierre-Yves
 
 Erik Brakkee a écrit :
 Hi,


 In many cases, it is useful to define an application wide Panel for 
 commonly recurring parts of the user interface. Nevertheless, sometimes, 
 it is necessary to vary only the presentation of a Panel.

 As far as I understand it, the Panel is always associated with one html 
 template with the same name as the panel.

 Hence, my question is how I can easily vary the html template for a 
 specific instance of a panel without changing it application wide. Most 
 easy would be sometihing like this:

 // with the default HTML template
 Panel p = new Panel();

 // with a template different from the default.
 Panel p = new Panel();
 p.setTemplate(xyz.html); // with a class path resource
 InputStream is = ...; p.setTemplate(is); // with a template in an input 
 stream.

 Is something like this already possible?

 Cheers
   Erik


 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642


 

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-auth-roles proposed change

2006-10-26 Thread Igor Vaynberg
just added the jira component so you can file the issue-IgorOn 10/26/06, Erik van Oosten [EMAIL PROTECTED]
 wrote:Hi,I was just looking at the issue tracker at
http://issues.apache.org/jira/browse/WICKET to submit a change requestfor wicket-auth-roles. However I do not see under which project itshould be put. In fact I can not find wicket-auth-roles on
http://wicketframework.org at all!My idea is to change InstantiationPermissions#authorizedRoles to:// TODO: make java 5 code by inserting generics againpublic Roles authorizedRoles(final Class componentClass) {
if (componentClass == null) {throw new IllegalArgumentException(Argument componentClasscannot be null);}Class c = componentClass;while (Component.class.isAssignableFrom
(c) !rolesForComponentClass.containsKey(c)) {c = c.getSuperclass();}return (Roles) rolesForComponentClass.get(c);}This way you can define authorization rules on base classes and all
sub-classes will automatically inherit these authorization rules. It iseasy to override this by explicitly adding authorization rules for asubclass.Regards,Erik.--Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] embed src ... /

2006-10-26 Thread Juergen Donnerstag
embed.setVisible(false)

Juergen

On 10/26/06, Michael Welter [EMAIL PROTECTED] wrote:
 I have an html table with several columns.  One column is an audio
 recording:

  tr wicket:id=responses class=even
tdembed wicket:id=recording type=audio/x-wav src=
 height=50 width=100 autostart=false//td
tdspan wicket:id=titleTitle/span/td
tdspan wicket:id=descriptionDescription/span/td
tdspan wicket:id=textText/span/td
  /tr

 In some instances there is no audio recording.  With no recording I send
 Label(recording,), and this results in the display of the QuickTime
 logo with a question mark (the src tag is empty).

 Is there some way to manipulate the html in the case of no recording?  I
 would like to be able to remove the embed / tag altogether and just
 have an empty td/ cell.

 Thanks



 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] embed src ... /

2006-10-26 Thread Igor Vaynberg
instead of label add a webmarkupcontainer and call setvisible(false) on it-IgorOn 10/26/06, Michael Welter 
[EMAIL PROTECTED] wrote:I have an html table with several columns.One column is an audio
recording: tr wicket:id=responses class=even tdembed wicket:id=recording type=audio/x-wav src="">height=50 width=100 autostart=false//td
 tdspan wicket:id=titleTitle/span/td tdspan wicket:id=descriptionDescription/span/td tdspan wicket:id=textText/span/td
 /trIn some instances there is no audio recording.With no recording I sendLabel(recording,), and this results in the display of the QuickTimelogo with a question mark (the src tag is empty).
Is there some way to manipulate the html in the case of no recording?Iwould like to be able to remove the embed / tag altogether and justhave an empty td/ cell.Thanks
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] embed src ... /

2006-10-26 Thread Johannes Fahrenkrug
How about setVisible(false)?

Michael Welter wrote:

I have an html table with several columns.  One column is an audio 
recording:

 tr wicket:id=responses class=even
   tdembed wicket:id=recording type=audio/x-wav src= 
height=50 width=100 autostart=false//td
   tdspan wicket:id=titleTitle/span/td
   tdspan wicket:id=descriptionDescription/span/td 
   tdspan wicket:id=textText/span/td
 /tr

In some instances there is no audio recording.  With no recording I send 
Label(recording,), and this results in the display of the QuickTime 
logo with a question mark (the src tag is empty).

Is there some way to manipulate the html in the case of no recording?  I 
would like to be able to remove the embed / tag altogether and just 
have an empty td/ cell.

Thanks



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

  



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Juergen Donnerstag
exactly, style is a per session setting whereas variation is a per
component setting.

Juergen

On 10/26/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
 I forgot this:

 to switch styles, use Session.setStyle().

 Pierre-Yves

 Pierre-Yves Saumont a écrit :
  Use styles. You can have several templates with different extensions,
  for example loginPanel_liquid.html and loginPanel_icy.html.
 
  Then, when you switch style from liquid to icy, Wicket will
  automatically select the appropriate template.
 
  Pierre-Yves
 
  Erik Brakkee a écrit :
  Hi,
 
 
  In many cases, it is useful to define an application wide Panel for
  commonly recurring parts of the user interface. Nevertheless, sometimes,
  it is necessary to vary only the presentation of a Panel.
 
  As far as I understand it, the Panel is always associated with one html
  template with the same name as the panel.
 
  Hence, my question is how I can easily vary the html template for a
  specific instance of a panel without changing it application wide. Most
  easy would be sometihing like this:
 
  // with the default HTML template
  Panel p = new Panel();
 
  // with a template different from the default.
  Panel p = new Panel();
  p.setTemplate(xyz.html); // with a class path resource
  InputStream is = ...; p.setTemplate(is); // with a template in an input
  stream.
 
  Is something like this already possible?
 
  Cheers
Erik
 
 
  
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
  
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] embed src ... /

2006-10-26 Thread Johannes Fahrenkrug
Juergen, you win. Igor and I were a minute too late ;-)


Juergen Donnerstag wrote:

embed.setVisible(false)

Juergen

On 10/26/06, Michael Welter [EMAIL PROTECTED] wrote:
  

I have an html table with several columns.  One column is an audio
recording:

 tr wicket:id=responses class=even
   tdembed wicket:id=recording type=audio/x-wav src=
height=50 width=100 autostart=false//td
   tdspan wicket:id=titleTitle/span/td
   tdspan wicket:id=descriptionDescription/span/td
   tdspan wicket:id=textText/span/td
 /tr

In some instances there is no audio recording.  With no recording I send
Label(recording,), and this results in the display of the QuickTime
logo with a question mark (the src tag is empty).

Is there some way to manipulate the html in the case of no recording?  I
would like to be able to remove the embed / tag altogether and just
have an empty td/ cell.

Thanks



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

  



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help needed: Best practise or example for first level navigation model

2006-10-26 Thread Johannes Fahrenkrug
Hi,

I'm not sure because I haven't used it yet, but the components in 
wicket.markup.html.tree or wicket.extensions.markup.html.tree
could be what you're looking for.

- Johannes

[EMAIL PROTECTED] wrote:

Hi there !

I am new in wicket developement and currently setting up my first project. 
Everythin is so far very fine, but I am still lokking for a best practice 
navigation model. What I would like to do is someting like one level tree 
navigation as shown here:

- Topic 1 (goes to Topic1.class)
-- Topic 1.1 (goes to Topic11.class)
-- Topic 1.2 (goes to Topic12.class)
- Topic 2 (goes to Topic2.class)
-- Topic 2.1 (goes to Topic21.class)
-- Topic 2.2 (goes to Topic22.class)
...

My current idea is to maintain the navigation structure within a ListView for 
Topic1  Topic2 each having a subsequent view for subtopics. So far I think 
the idea is not so bad but I do not know how to code wicket aware. Does anyone 
have some example code how to handle such a navigation structure? Is there 
some way to put this in a model, so I can mark the current selected page 
within the model?

Thank you very much,

Maciej A. Bednarz

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

  



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] cool ...looking forward to it

2006-10-26 Thread Geoff hendrey
Hi Igor,

Cool, I am looking forward to your feedback, and I'm ready to work on a data 
binding framework, or whatever else will benefit the Wicket community, using 
Shades.

-geoff





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] urlFor() + HeaderContributor.forCss() = extra path

2006-10-26 Thread Jonathan Sharp
I have a reference to a class that I have successfully generating the stylesheet and I'm wanting to add this url using HeaderContributor.forCss(); but it's appending an extra context to the url.Example:App maps to localhost/secure
String css = /secure...forCss(css) outputs /secure/secure...-- Base Page --String css = / + urlFor(StyleSheet.class, new PageParameters());add(HeaderContributor.forCss
(css));
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:
subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED])
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Issue with AJAX and InternalFrame

2006-10-26 Thread Allen James
Thanks for the quick repsonse Igor, that appears to have been my problem.

I used the iframe because the tabular display is so wide it caused the 
entire page to scroll and certain aspects of the page to be wider than I 
wanted.  I wrapped the data table in an iframe to give the same look as 
you'd get in Swing using a JTable wrapped in a JScrollPane.

I'm a little confused as to why this fixes the problem though.  In looking 
at Page.getPageMap(), it initializes a new PageMap instance if the pageMap 
variable is null.  Wouldn't I still get a unique PageMap at that point if I 
didn't send one through the constructor?

Thanks,
Allen

From: Igor Vaynberg [EMAIL PROTECTED]
Reply-To: wicket-user@lists.sourceforge.net
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Issue with AJAX and InternalFrame
Date: Wed, 25 Oct 2006 16:55:37 -0700

if you are using ajax why do you have an iframe? why not refresh the
datatable via a partial ajax update.

also the page that is inside the iframe needs to be opened inside a
different pagemap - that is prob whats causing your page expired problems.
there is a Page constructor that looks like this Page(PageMap) you might
want to do

MyIFramePage() {
  super(PageMap.forName(myiframe));
   ...
}

-Igor


On 10/25/06, Allen James [EMAIL PROTECTED] wrote:

The zip file wouldn't pass through so here are the files that comprise the
sample application that demonstrates the problem.

 From: Allen James [EMAIL PROTECTED]
 Reply-To: wicket-user@lists.sourceforge.net
 To: wicket-user@lists.sourceforge.net
 Subject: [Wicket-user] Issue with AJAX and InternalFrame
 Date: Wed, 25 Oct 2006 08:24:43 -0500
 
 I'm having issues when using AJAX behaviour on a web page that has an
 internal frame with AJAX behaviour.   Basically I have a search form on 
a
 page, and an InternalFrame display an AjaxFallbackDefaultDataTable
 displaying the results in an InternalFrame.  The search area changes a
 DropDownChoices selections based upon a checkbox being clicked or not.
 When
 I first view the page, there is no problem I can sort the table (all
though
 there are no rows) and click the checkbox and all the AJAX calls go
 through.
 
 If I submit the form however, I run into 2 odd scenarios:
 1) I sort the data table then click on the checkbox in the search area.
 This leads to an error like the following: Cannot remove 
[MarkupContainer
 [Component id = 2, page = No Page, path = 2.Loop$LoopItem]] from
 null parent!
 2) I click the checkbox after the form submit which works fine and then
try
 to sort the table.  This results in a page expiration problem with the
 InternalFrame as the version number being looked for is 1 higher than
what
 is stored in the PageMap.
 
 I've got a sample app I can send that exemplifies the problem.  I'm
 currently using wicket 1.2.2 and java version 1.5.0_08.
 
 _
 Try the next generation of search with Windows Live Search today!
 
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-ussource=hmtagline
 
 
 -
 Using Tomcat but need to do more? Need to support web services, 
security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

_
Get FREE company branded e-mail accounts and business Web site from
Microsoft Office Live
http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642


___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

_
Stay 

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Igor Vaynberg
that should have been fixed last night, please try again-IgorOn 10/26/06, Caleb Land [EMAIL PROTECTED]
 wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:

subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED]
)

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-26 Thread Flavius


I'm new with wicket and started a vanilla project.  I created my application
class which extends WebApplication and defined a home page called Home.java
(and Home.html).

When I nav to the root of the app, it successfully takes me to the home
page.
But the app loads that page twice.  I am determining this because
in the constructor I am logging the value of getId().

In debug mode, first time through getId() = 0, and 2nd time through
getId() = 1.

I want to think I misconfigured something (like page pool size or
something),
but the only configuration I've done is the web.xml, which I mimiced from
one of the wicket-examples projects I looked at.

I've googled a bit and can't find anything quite like mine.

I'm running this with both merve tomcat (5.5.17) and jetty launcher.
Same behavior from both of these.

Any suggestions on where to look would be appreciated.
-- 
View this message in context: 
http://www.nabble.com/Wicket-1.2.2-home-page-loads-twice-tf2515875.html#a7017276
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
I tried just now and it's still not working from Mac OS X.On 10/26/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:that should have been fixed last night, please try again-Igor
On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:

subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED]
)

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Caleb Land([EMAIL PROTECTED])
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
I removed my wicket working directory and tried checking out fresh, still no luck.On 10/26/06, Caleb Land [EMAIL PROTECTED]
 wrote:I tried just now and it's still not working from Mac OS X.
On 10/26/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:that should have been fixed last night, please try again-Igor

On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:

subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED]
)

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo


http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list


Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-26 Thread Johan Compagner
does your url of the homepage also change the second time (is there a redirect somehow)or does it just stay /Else place a breakpoint in your constructor and see why or where it comes from the second time for one request.
johanOn 10/26/06, Flavius [EMAIL PROTECTED] wrote:
I'm new with wicket and started a vanilla project.I created my applicationclass which extends WebApplication and defined a home page called Home.java(and Home.html).When I nav to the root of the app, it successfully takes me to the home
page.But the app loads that page twice.I am determining this becausein the constructor I am logging the value of getId().In debug mode, first time through getId() = 0, and 2nd time throughgetId() = 1.
I want to think I misconfigured something (like page pool size orsomething),but the only configuration I've done is the web.xml, which I mimiced fromone of the wicket-examples projects I looked at.
I've googled a bit and can't find anything quite like mine.I'm running this with both merve tomcat (5.5.17) and jetty launcher.Same behavior from both of these.Any suggestions on where to look would be appreciated.
--View this message in context: http://www.nabble.com/Wicket-1.2.2-home-page-loads-twice-tf2515875.html#a7017276Sent from the Wicket - User mailing list archive at 
Nabble.com.-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Issue with AJAX and InternalFrame

2006-10-26 Thread Igor Vaynberg
see Page.init()wicket reads off the pagemap name off url when the page is initialized - only when there is no pagemap encoded into the url a new one is created-Igor
On 10/26/06, Allen James [EMAIL PROTECTED] wrote:
Thanks for the quick repsonse Igor, that appears to have been my problem.I used the iframe because the tabular display is so wide it caused theentire page to scroll and certain aspects of the page to be wider than I
wanted.I wrapped the data table in an iframe to give the same look asyou'd get in Swing using a JTable wrapped in a JScrollPane.I'm a little confused as to why this fixes the problem though.In looking
at Page.getPageMap(), it initializes a new PageMap instance if the pageMapvariable is null.Wouldn't I still get a unique PageMap at that point if Ididn't send one through the constructor?Thanks,Allen
From: Igor Vaynberg [EMAIL PROTECTED]Reply-To: wicket-user@lists.sourceforge.net
To: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Issue with AJAX and InternalFrameDate: Wed, 25 Oct 2006 16:55:37 -0700
if you are using ajax why do you have an iframe? why not refresh thedatatable via a partial ajax update.also the page that is inside the iframe needs to be opened inside adifferent pagemap - that is prob whats causing your page expired problems.
there is a Page constructor that looks like this Page(PageMap) you mightwant to doMyIFramePage() {super(PageMap.forName(myiframe)); ...}-Igor
On 10/25/06, Allen James [EMAIL PROTECTED] wrote:The zip file wouldn't pass through so here are the files that comprise the
sample application that demonstrates the problem. From: Allen James [EMAIL PROTECTED] Reply-To: 
wicket-user@lists.sourceforge.net To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] Issue with AJAX and InternalFrame
 Date: Wed, 25 Oct 2006 08:24:43 -0500  I'm having issues when using AJAX behaviour on a web page that has an internal frame with AJAX behaviour. Basically I have a search form on
a page, and an InternalFrame display an AjaxFallbackDefaultDataTable displaying the results in an InternalFrame.The search area changes a DropDownChoices selections based upon a checkbox being clicked or not.
 When I first view the page, there is no problem I can sort the table (allthough there are no rows) and click the checkbox and all the AJAX calls go through.
  If I submit the form however, I run into 2 odd scenarios: 1) I sort the data table then click on the checkbox in the search area. This leads to an error like the following: Cannot remove
[MarkupContainer [Component id = 2, page = No Page, path = 2.Loop$LoopItem]] from null parent! 2) I click the checkbox after the form submit which works fine and then
try to sort the table.This results in a page expiration problem with the InternalFrame as the version number being looked for is 1 higher thanwhat is stored in the PageMap.
  I've got a sample app I can send that exemplifies the problem.I'm currently using wicket 1.2.2 and java version 1.5.0_08.  _
 Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-ussource=hmtagline
   - Using Tomcat but need to do more? Need to support web services,security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on ApacheGeronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user_Get FREE company branded e-mail accounts and business Web site from
Microsoft Office Livehttp://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your jobeasierDownload IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your jobeasierDownload IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net

Re: [Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-26 Thread Martijn Dashorst
Did you download and see the same effect with the Wicket Quickstart project?

Martijn

On 10/26/06, Flavius [EMAIL PROTECTED] wrote:


 I'm new with wicket and started a vanilla project.  I created my application
 class which extends WebApplication and defined a home page called Home.java
 (and Home.html).

 When I nav to the root of the app, it successfully takes me to the home
 page.
 But the app loads that page twice.  I am determining this because
 in the constructor I am logging the value of getId().

 In debug mode, first time through getId() = 0, and 2nd time through
 getId() = 1.

 I want to think I misconfigured something (like page pool size or
 something),
 but the only configuration I've done is the web.xml, which I mimiced from
 one of the wicket-examples projects I looked at.

 I've googled a bit and can't find anything quite like mine.

 I'm running this with both merve tomcat (5.5.17) and jetty launcher.
 Same behavior from both of these.

 Any suggestions on where to look would be appreciated.
 --
 View this message in context: 
 http://www.nabble.com/Wicket-1.2.2-home-page-loads-twice-tf2515875.html#a7017276
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
a href=http://www.thebeststuffintheworld.com/vote_for/wicket;Vote/a
for a href=http://www.thebeststuffintheworld.com/stuff/wicket;Wicket/a
at the a href=http://www.thebeststuffintheworld.com/;Best Stuff in
the World!/a

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
After a quick search for mac os x utf-8 filenames subversion I found this page, which fixes the problem.http://www.snark.de/index.cgi/0003Of course, I used:
env LC_CTYPE=en_US.UTF-8 svnas my command instead of de_DE.UTF-8.On 10/26/06, Caleb Land [EMAIL PROTECTED]
 wrote:I removed my wicket working directory and tried checking out fresh, still no luck.
On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried just now and it's still not working from Mac OS X.

On 10/26/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:that should have been fixed last night, please try again-Igor

On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:

subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED]
)

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo



http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list



Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo


http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list


Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] why is isRenderAllowed() protected?

2006-10-26 Thread Johan Compagner
why would a parent be none visible if one of its childs is not visible??isVisibleInHierachy is exactly what it says for one component. It test if that componentwill be visible yes or know. And that depends on itself or his parent visibility or render allowed boolean.
johanOn 10/26/06, ChuckDeal [EMAIL PROTECTED] wrote:
It goes into an infinite loop because I define the parent component'sisVisble() to be the result of visiting the children and calling theirisVisbleInHierarchy() which will in turn call the parent's isVisble() which
is the result of the childrens's ... and on and onisVisbleInHierarchy is not a straight replacement for using (isVisble() isRenderAllowed())ChuckJohan Compagner wrote:
 why comes it in an infinite loop?? i think one is protected because that one has an alternative isVisibleInHierarchy() johan On 10/26/06, ChuckDeal 
[EMAIL PROTECTED] wrote: I am defining a panel, which is visible only if at least one of its children is visible.So, it's isVisble() method calls visitChildren() with a
 visitor that returns true as soon as it finds a visible child or null otherwise. This worked until I started using an AuthorizationStrategy, now I also need to check isRenderAllowed(), but it is protected.I looked at
 isVisibleInHierarchy(), but it goes through the component's ancestors and, in my case, causes an infinite loop. So, why is isRenderAllowed() protected when isEnabledAllowed() is public?
 or maybe a better question Is there a better way to do this visibility check? Thanks Chuck -- View this message in context:
 http://www.nabble.com/why-is-isRenderAllowed%28%29-protected--tf2514044.html#a7011351 Sent from the Wicket - User mailing list archive at 
Nabble.com. - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ 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/why-is-isRenderAllowed%28%29-protected--tf2514044.html#a7011723
Sent from the Wicket - User mailing list archive at Nabble.com.-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Tabbed Panel

2006-10-26 Thread Michael Welter
When navigating to the wicket example for tabbed panel using IE on OS/X, 
the tabs are stacked vertically.  I get the same behavior in my application.

I don't have a Windows box handy--does this happen with Windows/IE?

Is this an IE problem or wicket?  Is there a work-around?

Thanks

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tabbed Panel

2006-10-26 Thread Igor Vaynberg
try safariworks fine on IE in windows.-IgorOn 10/26/06, Michael Welter [EMAIL PROTECTED]
 wrote:When navigating to the wicket example for tabbed panel using IE on OS/X,
the tabs are stacked vertically.I get the same behavior in my application.I don't have a Windows box handy--does this happen with Windows/IE?Is this an IE problem or wicket?Is there a work-around?
Thanks-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tabbed Panel

2006-10-26 Thread Martijn Dashorst
IE on OS/X is not supported anymore by MS or Apple. MS advises to use
Safari. IE on Mac is horrible when compared to IE on Win.

Martijn

On 10/26/06, Michael Welter [EMAIL PROTECTED] wrote:
 When navigating to the wicket example for tabbed panel using IE on OS/X,
 the tabs are stacked vertically.  I get the same behavior in my application.

 I don't have a Windows box handy--does this happen with Windows/IE?

 Is this an IE problem or wicket?  Is there a work-around?

 Thanks

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
a href=http://www.thebeststuffintheworld.com/vote_for/wicket;Vote/a
for a href=http://www.thebeststuffintheworld.com/stuff/wicket;Wicket/a
at the a href=http://www.thebeststuffintheworld.com/;Best Stuff in
the World!/a

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tabbed Panel

2006-10-26 Thread Igor Vaynberg
it works fine in ie on windows-igorOn 10/26/06, Michael Welter [EMAIL PROTECTED] wrote:
If you have IE on Windows, please go to the tabbed panel example andverify that it works correctly (I don't have a Windows box handy and
there's 30 of snow in my driveway).ThanksMartijn Dashorst wrote: IE on OS/X is not supported anymore by MS or Apple. MS advises to use Safari. IE on Mac is horrible when compared to IE on Win.
 Martijn On 10/26/06, Michael Welter [EMAIL PROTECTED] wrote: When navigating to the wicket example for tabbed panel using IE on OS/X,
 the tabs are stacked vertically.I get the same behavior in my application. I don't have a Windows box handy--does this happen with Windows/IE? Is this an IE problem or wicket?Is there a work-around?
 Thanks - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user--Michael WelterTelecom Matters Corp.Denver, Colorado US+1.303.414.4980
[EMAIL PROTECTED]www.TelecomMatters.net-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Frank Bille
Hey does that mean that you have fixed it? BTW The files should be in ISO-8859-1 (latin1) in svn. Do you still have problems?FrankOn 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:
After a quick search for mac os x utf-8 filenames subversion I found this page, which fixes the problem.
http://www.snark.de/index.cgi/0003Of course, I used:
env LC_CTYPE=en_US.UTF-8 svnas my command instead of de_DE.UTF-8.On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I removed my wicket working directory and tried checking out fresh, still no luck.
On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried just now and it's still not working from Mac OS X.


On 10/26/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:that should have been fixed last night, please try again-Igor

On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:

subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED]
)

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo




http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list




Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo



http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list



Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tabbed Panel

2006-10-26 Thread Stefan Lindner
 When navigating to the wicket example for tabbed panel using IE on
OS/X, 
 the tabs are stacked vertically.  I get the same behavior in my
application.

You must provide a sufficient CSS for your desired tabpanel appearance.
If you download the source for the wicket-examples, you will find an
example css at src\webapp\style.css that reproduces the look and feel
thatyou can see in wicket examples.

Stefan Lindner

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
I can check Wicket out of svn now, but my compiler is barfing (when I run mvn install from the wicket module's directory):


[INFO] 

  [ERROR] BUILD FAILURE
  [INFO] 
  [INFO] Compilation failure
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,14] illegal character: \175

  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,16] illegal character: \8776

  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,22] illegal character: \8240

  
  no more tokens -
could not parse error message:
/Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:32:
'}' expected
  ^
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,33]
illegal character: \175
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,35]
illegal character: \8776
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,41]
illegal character: \8240
  


I tried building on my Ubuntu system running IBM java 1.5 (PPC), and my Ubuntu (intel) system running Sun Java 1.5.0 and I get the same results.On 10/26/06, 
Frank Bille [EMAIL PROTECTED] wrote:
Hey does that mean that you have fixed it? BTW The files should be in ISO-8859-1 (latin1) in svn. Do you still have problems?Frank
On 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:

After a quick search for mac os x utf-8 filenames subversion I found this page, which fixes the problem.

http://www.snark.de/index.cgi/0003Of course, I used:
env LC_CTYPE=en_US.UTF-8 svnas my command instead of de_DE.UTF-8.On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I removed my wicket working directory and tried checking out fresh, still no luck.
On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried just now and it's still not working from Mac OS X.



On 10/26/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:that should have been fixed last night, please try again-Igor

On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:

subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED]
)

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo





http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list





Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo




http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list




Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your 

Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Frank Bille
Hmm great. I'll remove the tests for now until I have found out how to do it. FrankOn 10/26/06, Caleb Land 
[EMAIL PROTECTED] wrote:I can check Wicket out of svn now, but my compiler is barfing (when I run mvn install from the wicket module's directory):



[INFO] 

  [ERROR] BUILD FAILURE
  [INFO] 
  [INFO] Compilation failure
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,14] illegal character: \175


  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,16] illegal character: \8776


  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,22] illegal character: \8240


  
  no more tokens -
could not parse error message:
/Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:32:
'}' expected
  ^
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,33]
illegal character: \175
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,35]
illegal character: \8776
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,41]
illegal character: \8240
  


I tried building on my Ubuntu system running IBM java 1.5 (PPC), and my Ubuntu (intel) system running Sun Java 1.5.0 and I get the same results.
On 10/26/06, 
Frank Bille [EMAIL PROTECTED] wrote:

Hey does that mean that you have fixed it? BTW The files should be in ISO-8859-1 (latin1) in svn. Do you still have problems?Frank
On 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:


After a quick search for mac os x utf-8 filenames subversion I found this page, which fixes the problem.


http://www.snark.de/index.cgi/0003Of course, I used:
env LC_CTYPE=en_US.UTF-8 svnas my command instead of de_DE.UTF-8.On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I removed my wicket working directory and tried checking out fresh, still no luck.
On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried just now and it's still not working from Mac OS X.




On 10/26/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:that should have been fixed last night, please try again-Igor

On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:

subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED]
)

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo






http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list






Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo





http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list





Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo


http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list


Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Caleb Land
Actually, the error on the Ubuntu boxes is:
[INFO] [ERROR] BUILD FAILURE[INFO] [INFO] Compilation failure
/home/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/NønÅsciiPäge.java:[28,14] illegal character: \65533/home/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/NønÅsciiPäge.java:[28,16] illegal character: \65533
/home/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/NønÅsciiPäge.java:[28,22] illegal character: \65533On 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:
I can check Wicket out of svn now, but my compiler is barfing (when I run mvn install from the wicket module's directory):


[INFO] 

  [ERROR] BUILD FAILURE
  [INFO] 
  [INFO] Compilation failure
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,14] illegal character: \175


  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,16] illegal character: \8776


  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,22] illegal character: \8240


  
  no more tokens -
could not parse error message:
/Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:32:
'}' expected
  ^
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,33]
illegal character: \175
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,35]
illegal character: \8776
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,41]
illegal character: \8240
  


I tried building on my Ubuntu system running IBM java 1.5 (PPC), and my Ubuntu (intel) system running Sun Java 1.5.0 and I get the same results.
On 10/26/06, 
Frank Bille [EMAIL PROTECTED] wrote:

Hey does that mean that you have fixed it? BTW The files should be in ISO-8859-1 (latin1) in svn. Do you still have problems?Frank
On 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:


After a quick search for mac os x utf-8 filenames subversion I found this page, which fixes the problem.


http://www.snark.de/index.cgi/0003Of course, I used:
env LC_CTYPE=en_US.UTF-8 svnas my command instead of de_DE.UTF-8.On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I removed my wicket working directory and tried checking out fresh, still no luck.
On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried just now and it's still not working from Mac OS X.




On 10/26/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:that should have been fixed last night, please try again-Igor

On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:

subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED]
)

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo






http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list






Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo





http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list





Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])


Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Frank Bille
When I run them on my ubuntu box I don't get an error. I will try to do a clean checkout from the commandline and see what happens when building using maven on ubuntu.FrankOn 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:
Actually, the error on the Ubuntu boxes is:

[INFO] [ERROR] BUILD FAILURE[INFO] [INFO] Compilation failure

/home/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/NønÅsciiPäge.java:[28,14] illegal character: \65533/home/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/NønÅsciiPäge.java:[28,16] illegal character: \65533
/home/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/NønÅsciiPäge.java:[28,22] illegal character: \65533
On 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:

I can check Wicket out of svn now, but my compiler is barfing (when I run mvn install from the wicket module's directory):


[INFO] 

  [ERROR] BUILD FAILURE
  [INFO] 
  [INFO] Compilation failure
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,14] illegal character: \175



  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,16] illegal character: \8776



  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,22] illegal character: \8240



  
  no more tokens -
could not parse error message:
/Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:32:
'}' expected
  ^
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,33]
illegal character: \175
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,35]
illegal character: \8776
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,41]
illegal character: \8240
  


I tried building on my Ubuntu system running IBM java 1.5 (PPC), and my Ubuntu (intel) system running Sun Java 1.5.0 and I get the same results.
On 10/26/06, 
Frank Bille [EMAIL PROTECTED] wrote:


Hey does that mean that you have fixed it? BTW The files should be in ISO-8859-1 (latin1) in svn. Do you still have problems?Frank
On 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:



After a quick search for mac os x utf-8 filenames subversion I found this page, which fixes the problem.



http://www.snark.de/index.cgi/0003Of course, I used:
env LC_CTYPE=en_US.UTF-8 svnas my command instead of de_DE.UTF-8.On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I removed my wicket working directory and tried checking out fresh, still no luck.
On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried just now and it's still not working from Mac OS X.





On 10/26/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:that should have been fixed last night, please try again-Igor

On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:

subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED]
)

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo







http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list







Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo






http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list







Re: [Wicket-user] I can't update my trunk

2006-10-26 Thread Frank Bille
Hmm.. I still can't reproduce locally. But anyway I have removed the tests again from trunk (removing them from 1.x in a moment).FrankOn 10/26/06, 
Frank Bille [EMAIL PROTECTED] wrote:
When I run them on my ubuntu box I don't get an error. I will try to do a clean checkout from the commandline and see what happens when building using maven on ubuntu.
FrankOn 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:

Actually, the error on the Ubuntu boxes is:


[INFO] [ERROR] BUILD FAILURE[INFO] [INFO] Compilation failure


/home/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/NønÅsciiPäge.java:[28,14] illegal character: \65533/home/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/NønÅsciiPäge.java:[28,16] illegal character: \65533
/home/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/NønÅsciiPäge.java:[28,22] illegal character: \65533
On 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:


I can check Wicket out of svn now, but my compiler is barfing (when I run mvn install from the wicket module's directory):


[INFO] 

  [ERROR] BUILD FAILURE
  [INFO] 
  [INFO] Compilation failure
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,14] illegal character: \175




  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,16] illegal character: \8776




  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:[28,22] illegal character: \8240




  
  no more tokens -
could not parse error message:
/Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/N?nA?sciiPa?ge.java:32:
'}' expected
  ^
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,33]
illegal character: \175
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,35]
illegal character: \8776
  
  /Users/caleb/svn/wicket/wicket/src/test/java/wicket/protocol/http/request/AbstractWebRequestCodingStrategyTest.java:[63,41]
illegal character: \8240
  


I tried building on my Ubuntu system running IBM java 1.5 (PPC), and my Ubuntu (intel) system running Sun Java 1.5.0 and I get the same results.
On 10/26/06, 
Frank Bille [EMAIL PROTECTED] wrote:



Hey does that mean that you have fixed it? BTW The files should be in ISO-8859-1 (latin1) in svn. Do you still have problems?Frank
On 10/26/06, 
Caleb Land [EMAIL PROTECTED] wrote:




After a quick search for mac os x utf-8 filenames subversion I found this page, which fixes the problem.




http://www.snark.de/index.cgi/0003Of course, I used:
env LC_CTYPE=en_US.UTF-8 svnas my command instead of de_DE.UTF-8.On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I removed my wicket working directory and tried checking out fresh, still no luck.
On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried just now and it's still not working from Mac OS X.






On 10/26/06, Igor Vaynberg [EMAIL PROTECTED]
 wrote:that should have been fixed last night, please try again-Igor

On 10/26/06, Caleb Land 
[EMAIL PROTECTED]
 wrote:I tried updating my working directory of Wicket trunk and it seems that my Mac OS X filesystem doesn't like a filename in the repository:

subversion/libsvn_subr/utf.c:466: (apr_err=22)svn: Can't convert string from 'UTF-8' to native encoding:subversion/libsvn_subr/utf.c:464: (apr_err=22)svn: wicket/src/test/java/wicket/protocol/http/request/N?\195?\184n?\195?\133sciiP?\195?\164ge.java
This is with versions 1.3.1 and 1.4 of subversion. If anybody else is having this problem the best solution is to checkout on a box that works (it checks out on my Ubuntu installation) and then build from there.
Does anybody know if there is a fix for Mac OS X?-- Caleb Land([EMAIL PROTECTED]
)

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo








http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list








Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server 

Re: [Wicket-user] Wicket 1.2.2 home page loads twice

2006-10-26 Thread Flavius


I found the issue.

I'm putting the images in for the home page.

One tag didn't have an entry for the src, like

img src= . . . .

That was calling the home page.  :-(



-- 
View this message in context: 
http://www.nabble.com/Wicket-1.2.2-home-page-loads-twice-tf2515875.html#a7022847
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] reminder for wicket-dev on Apache

2006-10-26 Thread Eelco Hillenius
Hi folks,

This email is to remind you that we are active as an incubating
project over at Apache now:
http://incubator.apache.org/projects/wicket.html

If you want to follow the developer discussions over there, please
subscribe to wicket-dev at incubator.apache.org (by sending an email
to wicket-dev-subscribe  at incubator.apache.org).

See you,

Eelco

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Eelco Hillenius
And ultimately, there is custom markup loading
(wicket.examples.customresourceloading), though I would only consider
that when working with 2.0.

Eelco


On 10/26/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
 exactly, style is a per session setting whereas variation is a per
 component setting.

 Juergen

 On 10/26/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
  I forgot this:
 
  to switch styles, use Session.setStyle().
 
  Pierre-Yves
 
  Pierre-Yves Saumont a écrit :
   Use styles. You can have several templates with different extensions,
   for example loginPanel_liquid.html and loginPanel_icy.html.
  
   Then, when you switch style from liquid to icy, Wicket will
   automatically select the appropriate template.
  
   Pierre-Yves
  
   Erik Brakkee a écrit :
   Hi,
  
  
   In many cases, it is useful to define an application wide Panel for
   commonly recurring parts of the user interface. Nevertheless, sometimes,
   it is necessary to vary only the presentation of a Panel.
  
   As far as I understand it, the Panel is always associated with one html
   template with the same name as the panel.
  
   Hence, my question is how I can easily vary the html template for a
   specific instance of a panel without changing it application wide. Most
   easy would be sometihing like this:
  
   // with the default HTML template
   Panel p = new Panel();
  
   // with a template different from the default.
   Panel p = new Panel();
   p.setTemplate(xyz.html); // with a class path resource
   InputStream is = ...; p.setTemplate(is); // with a template in an input
   stream.
  
   Is something like this already possible?
  
   Cheers
 Erik
  
  
   
  
   -
   Using Tomcat but need to do more? Need to support web services, security?
   Get stuff done quickly with pre-integrated technology to make your job 
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache 
   Geronimo
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  
  
   
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
   -
   Using Tomcat but need to do more? Need to support web services, security?
   Get stuff done quickly with pre-integrated technology to make your job 
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] sportswear thunderbolt

2006-10-26 Thread Hope Barry





I've never really subscribed to the buzzword-loading technique.
used to record tons of shows everyday.
There are plenty of other interesting people at their office too. Still
there are some helpful pointers in here that anyone can use. Eventually
the cylons revolted and there was much waring.
There are plenty of other interesting people at their office too.
lots of people in the world respect Wired and the knowledge and opinions
it forwards. lets just say it didn't work quite as planned. to be able
to travel with a single carry-on bag has many advantages. so that's how
they're born.
Some of the classics are.
but how do they compare on speed with the other browsers? Some awesome
photos for your wallpaper are available here.
He didn't bother to get dual citizenship? But a good idea none the less.
All you need on the client side is Java and a web browser. Eventually
the cylons revolted and there was much waring.
Or maybe he just doesn't count the Canadian citizenship? And maybe how
to tweak some of those settings? Or maybe he just doesn't count the
Canadian citizenship? Desperate times, interesting adventures,
relationships, special effects, engaging soundtrack.
Well I took the first option.
but how do they compare on speed with the other browsers? Definitely
worth a look. At least it was for me through the method I was using.
Well I took the first option. Or maybe he just doesn't count the
Canadian citizenship? Or maybe he just imagined he'd be more popular if
he claimed it that way? At least it was for me through the method I was
using.
used to record tons of shows everyday.
good for them, bad for you. Or maybe he just doesn't count the Canadian
citizenship? so that's how they're born. If you don't like this week's
topic wait and see what he has next week. Running the programme from a
different location reports the programme is running in that
location.
an article like this is bound to get out there.
which you'll then need to strip the executable name of the end.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user