You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Bruno Aranda <br...@gmail.com> on 2005/09/24 17:17:34 UTC

Migration from 1.0.9m9 to 1.1.0 in myfaces wiki

Hi all,

I've just added a new section in the wiki about the migration from
1.0.9m9 version to 1.1.0
(http://wiki.apache.org/myfaces/From_1%2e0%2e9m9_to_1%2e1%2e0). I've
just added two issues, the ones that I remember now. Feel free to add
some more!

Regards,

Bruno

Re: Migration from 1.0.9m9 to 1.1.0 in myfaces wiki

Posted by Bruno Aranda <br...@gmail.com>.
Yes, please. It seems a bug, so report it to JIRA. Something is
escaping javascript scripts when they should not be escaped. Thanks,

Bruno

2005/9/25, Ryan Wynn <rw...@us.ibm.com>:
>
> Here is the javascript generated in place.
>
> <script type="text/javascript">var event__id7_menu =
> [[null, 'Options', null, 'linkDummyForm', null,['&lt;img
> src=&quot;/opengym/images/Help.png&quot;/&gt;', 'Help',
> 'event__id7_menu:go_sample1', 'linkDummyForm', null]]];</script><div
> id="event__id7_menu"></div>
> <script type="text/javascript"><!--
>         cmDraw ('event__id7_menu', event__id7_menu, 'hbr', cmThemeOffice,
> 'ThemeOffice');
> //--></script>
>
> When I hover over Options I literally see <img
> src="/opengym/images/Help.png">
>
> I played around with the source and I noticed that if I change to
>
> <script type="text/javascript">var event__id7_menu =
> [[null, 'Options', null, 'linkDummyForm', null,['<img
> src="/opengym/images/Help.png">', 'Help',
> 'event__id7_menu:go_sample1',
> 'linkDummyForm', null]]];</script><div id="event__id7_menu"></div>
> <script type="text/javascript"><!--
>         cmDraw ('event__id7_menu', event__id7_menu, 'hbr', cmThemeOffice,
> 'ThemeOffice');
> //--></script>
>
> Then the icon is displayed.
>
> Is this something that I should report to JIRA?
>
> Thanks,
> Ryan
>
>
>
>
>
>  Bruno Aranda <br...@gmail.com>
>
> 09/25/2005 06:34 AM
>
> Please respond to
>  "MyFaces Discussion"
>
>
> To MyFaces Discussion <us...@myfaces.apache.org>, martin@marinschek.com
>
> cc
>
> Subject Re: Migration from 1.0.9m9 to 1.1.0 in myfaces wiki
>
>
>
>
>
> Just a guess. Maybe it could be the same origin as the bug Mike
>  reported the other day with the calendar not poping up. Maybe the
>  quote before the img tag is being escaped. Could all this have
>  something to do with the improve of the scripts? It does not seems to
>  happend in all the configurations or all the circumstances, as the
>  application at irian had a different behaviour than mine in this
>  issue...
>
>  Regards,
>
>  Bruno
>
>  2005/9/25, Martin Marinschek <ma...@gmail.com>:
>  > Can you post more of your output and your jsps?
>  >
>  > regards,
>  >
>  > Martin
>  >
>  > On 9/25/05, Ryan Wynn <rw...@us.ibm.com> wrote:
>  > >
>  > > My apologies if this was already discussed as I just joined the group.
>  > >
>  > > I have have recently had problems with the JSCookMenu component
> displaying
>  > > icons.  It seems that depending on where I place the jscook tag within
> the
>  > > myfaces tree I either see the icon or I see the string "<img
> src="foo"".  I
>  > > checked foo and it's a valid path to an image; I am using absolute
> paths in
>  > > this case.
>  > >
>  > > Anyone had any problems with icons?  I am using the 9/23 nightly build,
>  > > myfaces-all.jar.  JSCookMenu tag is not nested within form tag.
>  > >
>  > > Thanks,
>  > >
>  > > Ryan
>  > >
>  > >
>  >
>  >
>  > --
>  >
>  > http://www.irian.at
>  > Your JSF powerhouse -
>  > JSF Trainings in English and German
>  >
>
>

Re: Migration from 1.0.9m9 to 1.1.0 in myfaces wiki

Posted by Werner Punz <we...@gmx.at>.
There is definitely too much quoting occurring
'&lt;img
> src=&quot;/opengym/images/Help.png&quot;/&gt;'

definitely is not correct unless it is unquoted
in the javascript :-(


Ryan Wynn wrote:
> 
> Here is the javascript generated in place.
> 
> <script type="text/javascript">var event__id7_menu =
> [[null, 'Options', null, 'linkDummyForm', null,['&lt;img
> src=&quot;/opengym/images/Help.png&quot;/&gt;', 'Help',
> 'event__id7_menu:go_sample1', 'linkDummyForm', null]]];</script><div
> id="event__id7_menu"></div>
> <script type="text/javascript"><!--
>         cmDraw ('event__id7_menu', event__id7_menu, 'hbr',
> cmThemeOffice, 'ThemeOffice');
> //--></script>
> 
> When I hover over Options I literally see <img
> src="/opengym/images/Help.png">
> 
> I played around with the source and I noticed that if I change to
> 
> <script type="text/javascript">var event__id7_menu =
> [[null, 'Options', null, 'linkDummyForm', null,['<img
> src="/opengym/images/Help.png">', 'Help', 'event__id7_menu:go_sample1',
> 'linkDummyForm', null]]];</script><div id="event__id7_menu"></div>
> <script type="text/javascript"><!--
>         cmDraw ('event__id7_menu', event__id7_menu, 'hbr',
> cmThemeOffice, 'ThemeOffice');
> //--></script>
> 


Re: Migration from 1.0.9m9 to 1.1.0 in myfaces wiki

Posted by Ryan Wynn <rw...@us.ibm.com>.
Here is the javascript generated in place.

<script type="text/javascript">var event__id7_menu =
[[null, 'Options', null, 'linkDummyForm', null,['&lt;img 
src=&quot;/opengym/images/Help.png&quot;/&gt;', 'Help', 
'event__id7_menu:go_sample1', 'linkDummyForm', null]]];</script><div 
id="event__id7_menu"></div>
<script type="text/javascript"><!--
        cmDraw ('event__id7_menu', event__id7_menu, 'hbr', cmThemeOffice, 
'ThemeOffice');
//--></script>

When I hover over Options I literally see <img 
src="/opengym/images/Help.png">

I played around with the source and I noticed that if I change to 

<script type="text/javascript">var event__id7_menu =
[[null, 'Options', null, 'linkDummyForm', null,['<img 
src="/opengym/images/Help.png">', 'Help', 'event__id7_menu:go_sample1', 
'linkDummyForm', null]]];</script><div id="event__id7_menu"></div>
<script type="text/javascript"><!--
        cmDraw ('event__id7_menu', event__id7_menu, 'hbr', cmThemeOffice, 
'ThemeOffice');
//--></script>

Then the icon is displayed.

Is this something that I should report to JIRA?

Thanks,
Ryan





Bruno Aranda <br...@gmail.com> 
09/25/2005 06:34 AM
Please respond to
"MyFaces Discussion"


To
MyFaces Discussion <us...@myfaces.apache.org>, martin@marinschek.com
cc

Subject
Re: Migration from 1.0.9m9 to 1.1.0 in myfaces wiki






Just a guess. Maybe it could be the same origin as the bug Mike
reported the other day with the calendar not poping up. Maybe the
quote before the img tag is being escaped. Could all this have
something to do with the improve of the scripts? It does not seems to
happend in all the configurations or all the circumstances, as the
application at irian had a different behaviour than mine in this
issue...

Regards,

Bruno

2005/9/25, Martin Marinschek <ma...@gmail.com>:
> Can you post more of your output and your jsps?
>
> regards,
>
> Martin
>
> On 9/25/05, Ryan Wynn <rw...@us.ibm.com> wrote:
> >
> > My apologies if this was already discussed as I just joined the group.
> >
> > I have have recently had problems with the JSCookMenu component 
displaying
> > icons.  It seems that depending on where I place the jscook tag within 
the
> > myfaces tree I either see the icon or I see the string "<img 
src="foo"".  I
> > checked foo and it's a valid path to an image; I am using absolute 
paths in
> > this case.
> >
> > Anyone had any problems with icons?  I am using the 9/23 nightly 
build,
> > myfaces-all.jar.  JSCookMenu tag is not nested within form tag.
> >
> > Thanks,
> >
> > Ryan
> >
> >
>
>
> --
>
> http://www.irian.at
> Your JSF powerhouse -
> JSF Trainings in English and German
>


Re: Migration from 1.0.9m9 to 1.1.0 in myfaces wiki

Posted by Bruno Aranda <br...@gmail.com>.
Just a guess. Maybe it could be the same origin as the bug Mike
reported the other day with the calendar not poping up. Maybe the
quote before the img tag is being escaped. Could all this have
something to do with the improve of the scripts? It does not seems to
happend in all the configurations or all the circumstances, as the
application at irian had a different behaviour than mine in this
issue...

Regards,

Bruno

2005/9/25, Martin Marinschek <ma...@gmail.com>:
> Can you post more of your output and your jsps?
>
> regards,
>
> Martin
>
> On 9/25/05, Ryan Wynn <rw...@us.ibm.com> wrote:
> >
> > My apologies if this was already discussed as I just joined the group.
> >
> > I have have recently had problems with the JSCookMenu component displaying
> > icons.  It seems that depending on where I place the jscook tag within the
> > myfaces tree I either see the icon or I see the string "<img src="foo"".  I
> > checked foo and it's a valid path to an image; I am using absolute paths in
> > this case.
> >
> > Anyone had any problems with icons?  I am using the 9/23 nightly build,
> > myfaces-all.jar.  JSCookMenu tag is not nested within form tag.
> >
> > Thanks,
> >
> > Ryan
> >
> >
>
>
> --
>
> http://www.irian.at
> Your JSF powerhouse -
> JSF Trainings in English and German
>

Re: Migration from 1.0.9m9 to 1.1.0 in myfaces wiki

Posted by Martin Marinschek <ma...@gmail.com>.
Can you post more of your output and your jsps?

regards,

Martin

On 9/25/05, Ryan Wynn <rw...@us.ibm.com> wrote:
>
> My apologies if this was already discussed as I just joined the group.
>
> I have have recently had problems with the JSCookMenu component displaying
> icons.  It seems that depending on where I place the jscook tag within the
> myfaces tree I either see the icon or I see the string "<img src="foo"".  I
> checked foo and it's a valid path to an image; I am using absolute paths in
> this case.
>
> Anyone had any problems with icons?  I am using the 9/23 nightly build,
> myfaces-all.jar.  JSCookMenu tag is not nested within form tag.
>
> Thanks,
>
> Ryan
>
>


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German

Re: Migration from 1.0.9m9 to 1.1.0 in myfaces wiki

Posted by Ryan Wynn <rw...@us.ibm.com>.
My apologies if this was already discussed as I just joined the group. 

I have have recently had problems with the JSCookMenu component displaying 
icons.  It seems that depending on where I place the jscook tag within the 
myfaces tree I either see the icon or I see the string "<img src="foo"". I 
checked foo and it's a valid path to an image; I am using absolute paths 
in this case.

Anyone had any problems with icons?  I am using the 9/23 nightly build, 
myfaces-all.jar.  JSCookMenu tag is not nested within form tag.

Thanks,

Ryan


Re: Migration from 1.0.9m9 to 1.1.0 in myfaces wiki

Posted by Sean Schofield <se...@gmail.com>.
Good idea.  I also added a link to the wiki from the front page of the
website (and mentioned the problem with myfaces-all.jar)

sean

On 9/24/05, Bruno Aranda <br...@gmail.com> wrote:
> Hi all,
>
> I've just added a new section in the wiki about the migration from
> 1.0.9m9 version to 1.1.0
> (http://wiki.apache.org/myfaces/From_1%2e0%2e9m9_to_1%2e1%2e0). I've
> just added two issues, the ones that I remember now. Feel free to add
> some more!
>
> Regards,
>
> Bruno
>