Antwort: Re: Antwort: Re: Including wicket in JSPs?

2008-06-26 Thread Jan . Koops
Hello Daniel,

no thank you, I want the html-code to appear in the page.

Anyone played with jsp:including wicket so far?

 Jan

Daniel Frisk  schrieb am 24.06.2008 09:05:24:

> Perhaps you can use object as a drop in replacement of iframe? I 
> haven't tested it in different web browsers so no guarantees from me :-)
> 
> http://java.net"; type="text/html">
> 
> // Daniel Frisk
> jalbum.net
> 
> 
> On 2008-06-24, at 08:37, [EMAIL PROTECTED] wrote:
> 
> > Hi Jim,
> >
> > thank you for your suggestion, but we use XHTML 1.0 Strict, so we 
> > can't
> > use IFrames.
> >
> > Jan
> >
> > jnorris <[EMAIL PROTECTED]> schrieb am 23.06.2008 18:26:27:
> >
> >>
> >> Hi Jan,
> >>
> >> I have a legacy home-grown jsp application where I'm showing wicket
> > pages in
> >> the content area using an inframe tag.  Initially I had a problem 
> >> that
> >> turned out to be caused by not using the closing tag for the iframe.
> > Here's
> >> an example that works in IE6/7:
> >>
> >> 
> >>   
> >>  iframe{ float:left; height:500px; width:100%; display:block;
> >> frameborder:0;}
> >>   
> >> 
> >>
> >> 
> >>   
> >>   
> >>   http://someserver/WicketDemoPage?someparm=somevalue";
> >> frameborder="0">
> >>   
> >>   
> >> 
> >>
> >> This technique works for me with bookmarkable pages, so in the above
> > case
> >> the following would be put in the init() method of the Application
> > class:
> >> mountBookmarkablePage( "/WicketDemoPage", WicketDemoPage.class );
> >>
> >> HTH,
> >> Jim
> >>
> >>
> >> Jan.Koops wrote:
> >>>
> >>> Hello !
> >>>
> >>> We are using a JSP-based content management system for navigation,
> > page
> >>> layout etc.
> >>> Now we're evaluating Wicket as our "application" framework: A Wicket
> >>> application should appear in the center of the JSP based layout and
> >>> navigation.
> >>> Has somebody already included a wicket page via jsp:include or other
> > ways?
> >>> It seems to me a Page would be the wrong Wicket component to 
> >>> include,
> >>> since no body or header should be rendered.
> >>>
> >>> Best regards
> >>> Jan
> >>>
> >>
> >> -- 
> >> View this message in context: http://www.nabble.com/Including-
> >> wicket-in-JSPs--tp18071635p18072855.html
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Re: IResourceFinder vs IResourceStreamLocator

2008-06-26 Thread Ned Collyer

All good - initially this was going to be a datastore (eg a database)
but it can now be filesystem - which means I dont need the answer.

getResourceSettings().addResourceFolder("configDir/override");

Still, those 2 interfaces seem very similar.

Rgds

Ned



Ned Collyer wrote:
> 
> I need to find resources (property resources)... from an external point
> and fall back to wickets inbuilt property resolution.
> 
> I'm a little baffled... when stumbling upon:
> IResourceFinder vs IResourceStreamLocator
> 
> I'm not sure which interface I should be implementing.
> I've checked the javadoc and the usage within wicket.
> 
> They seam destined to be the same thing judging from the javadoc... and
> the words "Locator" or "Finder" pretty much mean the same thing... and
> they both return IResourceStream
> 
> I've seen some posts from ... several years back outlining that they are
> named in a confusing manner (from Jonathan Locke)
> 
> Can someone shed some light on the subject please?  Which should I be
> implementing (or extending existing implementation).
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/IResourceFinder-vs-IResourceStreamLocator-tp18147722p18148901.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem at startup

2008-06-26 Thread Sergiy Yevtushenko

Igor Vaynberg wrote:

we removed those methods because they are declared in java.util.map

IValueMap extends Map

and map has Object put so i dont see why it wouldnt
find the method...


Me too. Probably it worth to report the issue to Sun, because it looks like JVM 
issue.


Regards,
Sergiy.
*-
[EMAIL PROTECTED] http://es.os2.ru/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem at startup

2008-06-26 Thread Igor Vaynberg
we removed those methods because they are declared in java.util.map

IValueMap extends Map

and map has Object put so i dont see why it wouldnt
find the method...

-igor

On Thu, Jun 26, 2008 at 10:01 PM, Sergiy Yevtushenko
<[EMAIL PROTECTED]> wrote:
> Igor Vaynberg wrote:
>
>> what version are you on?
>
> I've resolved the issue by rolling back IValueMap.java from latest 669997 to
> previous 660341. Differences between these two versions are following:
>
> ...
> --- IValueMap.java.660341   2008-06-26 23:54:09.0 +0300
> +++ IValueMap.java.669997   2008-06-27 07:57:07.0 +0300
> @@ -35,11 +35,6 @@
>  public interface IValueMap extends Map
>  {
>/**
> -* @see java.util.Map#clear()
> -*/
> -   void clear();
> -
> -   /**
> * Retrieves a boolean value by key.
> *
> * @param key
> @@ -205,21 +200,6 @@
>IValueMap makeImmutable();
>
>/**
> -* @see java.util.Map#put(Object, Object)
> -*/
> -   Object put(final String key, final Object value);
> -
> -   /**
> -* @see java.util.Map#putAll(java.util.Map)
> -*/
> -   void putAll(final Map map);
> -
> -   /**
> -* @see java.util.Map#remove(java.lang.Object)
> -*/
> -   Object remove(final Object key);
> -
> -   /**
> * Provided that the hash key is a String and you need
> to access the value
> * ignoring the key's case (upper- or lowercase letters), then you
> may use this method to get
> * the correct writing.
> ...
>
>
> Regards,
>Sergiy.
> *-
> [EMAIL PROTECTED] http://es.os2.ru/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: scriptaculus contrib v 1.3

2008-06-26 Thread Nino Saturnino Martinez Vazquez Wael
Yeah it must be some kind of clashing.. However switching to newest 
version of scriptaculous and prototype fixes the problem and actually 
improves performance..


Ryan Sonnek wrote:

That's odd.  I run all of my examples in FF2 and have never seen that issue.

On 6/26/08, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>
wrote:
  

I can't figure out why, but I am getting these in my scriptaculous pages
(using ff2, safari3 does not complain):

unterminated string literal document.write("

]]>*/








Does anyone have a clue?

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





  


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Effect for Ajax

2008-06-26 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, they match then (its the same I use).. Do you get any javascript 
errors? I had to package/roll my own header contrib wich scriptacolulus 
to get it to work...


Mathias P.W Nilsson wrote:

Wicket 1.3.3
wicketstuff-scriptaculous 1.3-SNAPSHOT
  


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem at startup

2008-06-26 Thread Sergiy Yevtushenko

Igor Vaynberg wrote:


what version are you on?


I've resolved the issue by rolling back IValueMap.java from latest 669997 to 
previous 660341. Differences between these two versions are following:


...
--- IValueMap.java.660341   2008-06-26 23:54:09.0 +0300
+++ IValueMap.java.669997   2008-06-27 07:57:07.0 +0300
@@ -35,11 +35,6 @@
 public interface IValueMap extends Map
 {
/**
-* @see java.util.Map#clear()
-*/
-   void clear();
-
-   /**
 * Retrieves a boolean value by key.
 *
 * @param key
@@ -205,21 +200,6 @@
IValueMap makeImmutable();

/**
-* @see java.util.Map#put(Object, Object)
-*/
-   Object put(final String key, final Object value);
-
-   /**
-* @see java.util.Map#putAll(java.util.Map)
-*/
-   void putAll(final Map map);
-
-   /**
-* @see java.util.Map#remove(java.lang.Object)
-*/
-   Object remove(final Object key);
-
-   /**
 	 * Provided that the hash key is a String and you need to access 
the value
 	 * ignoring the key's case (upper- or lowercase letters), then you may use 
this method to get

 * the correct writing.
...


Regards,
Sergiy.
*-
[EMAIL PROTECTED] http://es.os2.ru/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: scriptaculus contrib v 1.3

2008-06-26 Thread Ryan Sonnek
That's odd.  I run all of my examples in FF2 and have never seen that issue.

On 6/26/08, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>
wrote:
>
> I can't figure out why, but I am getting these in my scriptaculous pages
> (using ff2, safari3 does not complain):
>
> unterminated string literal document.write(" defer src=\n prototype.js (line 3661)
> Prototype is not defined linear: Prototype.K, effects.js (line 54)
> Object.isUndefined is not a function if(Object.isUndefined(Effect))
> dragdrop.js (line 3)
>
> uncaught exception: controls.js requires including script.aculo.us'
> effects.js library
>
> Even though these are added:
>
>