[Wicket-user] PasswordTextField throwing a java.security.NoSuchAlgorithmException

2006-08-19 Thread Tim Fletcher
Hi,
i searched the list for this problem, but could only find information
about cvs commits.

I'm trying to use the PasswordTextField, but when i submit the form, I
get the following exception: java.security.NoSuchAlgorithmException:
Algorithm PBEWithMD5AndDES not available

Thanks in advance,
Tim

here is the trace

19-Aug-2006 13:58:30 wicket.util.crypt.ClassCryptFactory newCrypt
INFO: using encryption/decryption object [EMAIL PROTECTED]
19-Aug-2006 13:58:30 wicket.util.crypt.AbstractCrypt encrypt
SEVERE: Unable to encrypt text ''
java.security.NoSuchAlgorithmException: Algorithm PBEWithMD5AndDES not available
at javax.crypto.SunJCE_b.a(DashoA12275)
at javax.crypto.SecretKeyFactory.getInstance(DashoA12275)
at wicket.util.crypt.SunJceCrypt.generateSecretKey(SunJceCrypt.java:119)
at wicket.util.crypt.SunJceCrypt.crypt(SunJceCrypt.java:95)
at 
wicket.util.crypt.AbstractCrypt.encryptStringToByteArray(AbstractCrypt.java:204)
at wicket.util.crypt.AbstractCrypt.encrypt(AbstractCrypt.java:107)
at 
wicket.markup.html.form.PasswordTextField.getModelValue(PasswordTextField.java:97)
at 
wicket.markup.html.form.FormComponent.getValue(FormComponent.java:387)
at wicket.markup.html.form.TextField.onComponentTag(TextField.java:102)
at 
wicket.markup.html.form.PasswordTextField.onComponentTag(PasswordTextField.java:157)
at wicket.Component.renderComponent(Component.java:1651)
at wicket.MarkupContainer.onRender(MarkupContainer.java:925)
at wicket.Component.render(Component.java:1518)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1332)
at 
wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:980)
at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:915)
at wicket.markup.html.form.Form.onComponentTagBody(Form.java:773)
at wicket.Component.renderComponent(Component.java:1682)
at wicket.MarkupContainer.onRender(MarkupContainer.java:925)
at wicket.markup.html.form.Form.onRender(Form.java:844)
at wicket.Component.render(Component.java:1518)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1332)
at 
wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:980)
at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:915)
at wicket.Component.renderComponent(Component.java:1682)
at wicket.MarkupContainer.onRender(MarkupContainer.java:925)
at wicket.Component.render(Component.java:1518)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1332)
at wicket.MarkupContainer.renderAll(MarkupContainer.java:942)
at wicket.Page.onRender(Page.java:867)
at wicket.Component.render(Component.java:1518)
at wicket.Page.renderPage(Page.java:411)
at 
wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:226)
at 
wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49)
at 
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66)
at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:852)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:879)
at wicket.RequestCycle.step(RequestCycle.java:960)
at wicket.RequestCycle.steps(RequestCycle.java:1034)
at wicket.RequestCycle.request(RequestCycle.java:453)
at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:215)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

-
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] Dynamic Markup

2006-08-20 Thread Tim Fletcher
ok found it on the mailing list
http://sourceforge.net/mailarchive/message.php?msg_id=36314114

sorry for the noise

Tim

On 20/08/06, Tim Fletcher [EMAIL PROTECTED] wrote:
 Hi,

 I've been playing around with wicket for only a few days, and have
 done (and particularly, learnt)  so much, I'm amazed. Why did i spend
 so long being obsessed with PHP and content management systems, when i
 could just have used Wicket :)

 I'm having a problem however with dynamically creating markups. While
 most of the components in my app have associated markup, I'm also
 creating an other component that should construct itself (markup and
 model) from a database.

 any hints on how to go about this? I have now read most of the doc,
 but haven't spotted a relevant bit.

 Thanks in advance
 Tim


-
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] Markup cache

2006-09-03 Thread Tim Fletcher
Hi,

in Wicket 1.2.2, is there any way of manually refreshing the markup
cache. I know this has been discused previously, and methods for doing
this in 2.0 (and perhaps 1.3) have been discused.
The markup for my compenents is being generated by a database, and I
would like to be able to tell wicket when a components markup has
changed.

Thanks in advance

-
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] Markup cache

2006-09-03 Thread Tim Fletcher
hi again,

a little more information:
I am trying to create something a little like Archetypes for Zope.
This will allow a site admin to create new types of components based
on others previously created (although the very base types, Axioms,
are Wicket Components).
I'm struggling a little with the markup cache, however i was wondering
if i could use the page revision interface for this.
my dynamic components can have multiple states, edit and view. if i
recorded the changes made to the component in each state, could i then
access them using the revision mechanism? where each revision
corresponded to a state?

Thanks in advance
Tim

On 03/09/06, Tim Fletcher [EMAIL PROTECTED] wrote:
 Hi,

 in Wicket 1.2.2, is there any way of manually refreshing the markup
 cache. I know this has been discused previously, and methods for doing
 this in 2.0 (and perhaps 1.3) have been discused.
 The markup for my compenents is being generated by a database, and I
 would like to be able to tell wicket when a components markup has
 changed.

 Thanks in advance


-
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] Markup cache

2006-09-03 Thread Tim Fletcher
Juergen,
Looking at the javadoc online
(http://wicket.sourceforge.net/apidocs/wicket/markup/MarkupCache.html),
MarkupCache doesn't have the removeMarkup method.
could this be 2.0 stuff?

Thanks
Tim

On 03/09/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
 I don't think so, the markup is not versioned

 1.2.2 MarkupCache: what might work, but I haven't tested it. I assume
 you either subclassed MarkupContainer.newMarkupResourceStream() or you
 created your own IResourceStream implemented and registered a resource
 stream locator with the application. Either way
 MarkupCache.removeMarkup allows you to remove markup from the cache
 and hence forces reloading. Nothing prevents you from loading the
 markupresourcestream already in MyMarkupContainer.onBeforeRender(),
 keep a reference and return it in newMarkupResourceStream and remove
 it from the cache again in MyContainer.onAfterRender().

 Juergen


 On 9/3/06, Tim Fletcher [EMAIL PROTECTED] wrote:
  hi again,
 
  a little more information:
  I am trying to create something a little like Archetypes for Zope.
  This will allow a site admin to create new types of components based
  on others previously created (although the very base types, Axioms,
  are Wicket Components).
  I'm struggling a little with the markup cache, however i was wondering
  if i could use the page revision interface for this.
  my dynamic components can have multiple states, edit and view. if i
  recorded the changes made to the component in each state, could i then
  access them using the revision mechanism? where each revision
  corresponded to a state?
 
  Thanks in advance
  Tim
 
  On 03/09/06, Tim Fletcher [EMAIL PROTECTED] wrote:
   Hi,
  
   in Wicket 1.2.2, is there any way of manually refreshing the markup
   cache. I know this has been discused previously, and methods for doing
   this in 2.0 (and perhaps 1.3) have been discused.
   The markup for my compenents is being generated by a database, and I
   would like to be able to tell wicket when a components markup has
   changed.
  
   Thanks in advance
  
 
  -
  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