Re: [Trinidad] "Warning: Illegal HTML..." should be reported?

2007-09-06 Thread Vadim Dmitriev
It's not each component in every subform. I stripped page code of
unimportant layout for that warning source can be easily pinpointed.
Originally there are 5-10 inputs per subform. It's rather complex form
with about 100 input components. They all must be lined up and some
blocks must have partial submit capability (I grouped them in separate
subforms). I can't regroup fields to solve this puzzle - layout
requirements are rather strict.
I'll try to nest panelFormLayout in subforms and specify label/input
columns widths.

Thanks for your time!


Adam Winer wrote:
> Indeed - you can't put the subform there.  It also seems extremely odd
> that you'd want each input component to be in its own subform.
>
> -- Adam


Re: [Trinidad] "Warning: Illegal HTML..." should be reported?

2007-09-06 Thread Adam Winer
Indeed - you can't put the subform there.  It also seems extremely odd that
you'd want each input component to be in its own subform.

-- Adam


On 9/6/07, Matt Cooper <[EMAIL PROTECTED]> wrote:
>
> If possible, I would suggest swapping the order of the tr:panelFormLayout
> and tr:subform tags.  That should correct the invalid HTML problems since I
> suspect the inputText components are expecting to be direct children of the
> panelFormLayout.
>
> Thank you,
> Matt
>
> On 9/6/07, Vadim Dmitriev <[EMAIL PROTECTED]> wrote:
> >
> > Fair enough :)
> > Seems that each component in tr:subform that is placed into
> > tr:panelFormLayout produces two html warnings.
> >
> > Here is jsf page:
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > Produces (inline; i think it's necessary to send it as an attachment):
> >
> >  > "http://www.w3.org/TR/html4/loose.dtd";> > lang="en">
> >   
> > 
> >
> >  > href="/ru.bpc.sandbox.trinidad/adf/styles/cache/rast-
> > desktop-1349468388-en-gecko.css"> > type="text/javascript">var _AdfWindowOpenError='A popup window blocker
> > has been detected in your browser. Popup blockers interfere with the
> > operation of this application. Please disable your popup blocker or
> > allow popups from this site.'; > src="/ru.bpc.sandbox.trinidad/adf/jsLibs/DebugCommon1_0_2.js"> >
> > type="text/javascript">_defaultTZ()
> >   
> >
> >> id="_pprBlockingDiv" onclick="return _pprConsumeClick(event);"
> > style="position:absolute;left:0;top:0;width:0;height:0;cursor:wait;"
> > onkeydown="return false;" onkeyup="return false;" onmousedown="return
> > false;" onmouseup="return false;" onkeypress="return false;"> > name="top">
> > This page uses JavaScript and requires a JavaScript
> > enabled browser.Your browser is not JavaScript enabled.
> > 
> >  > onkeypress="return _submitOnEnter(event,'_idJsp1');"
> > action="/ru.bpc.sandbox.trinidad/faces/applicationform1.jsp"> > class="af_panelFormLayout"> > border="0" summary="" style="width: auto">
> >> cellpadding="0" cellspacing="0" border="0" width="100%"
> > summary="">
> >   
> >
> >   
> > 
> >
> >   
> >
> >> class="af_panelFormLayout_content-cell"> > id="_idJsp3:_idJsp4__xc_">
> >> id="_idJsp3:_idJsp4::icon" style="display:none;"> > name="_msgAnc__idJsp3:_idJsp4" title="Error"
> > class="AFErrorIconStyle">X
> >
> >> class="AFContentCell"> > id="_idJsp3:_idJsp4" name="_idJsp3:_idJsp4" class="af_inputText_content"
> > size="30" type="text">
> > 
> >   
> >
> >> class="OraInlineInfoText"> > style="display:none;" class="OraInlineErrorText">
> > 
> >
> > 
> >  > name="org.apache.myfaces.trinidad.faces.FORM" value="_idJsp1"> > type="hidden" name=" org.apache.myfaces.trinidad.faces.STATE"
> > value="!1">function
> > __idJsp1Validator(){return true;}var
> > _idJsp1_SF={"_idJsp3":1}; > type="text/javascript">_submitFormCheck();
> >   
> >   
> >
> >
> > Thanks.
> >
> > Danny Robinson wrote:
> > > If you can supply the source page snippet and the rendered output we
> > > should be able to figure out if there's a problem to report.
> > >
> > > Thx,
> > >
> > > Danny
> > >
> > > On 9/6/07, * Vadim Dmitriev* <[EMAIL PROTECTED]
> > > > wrote:
> > >
> > > Hi.
> > > I was making up yet another page when noticed that when i open it
> > > in the
> > > browser about 10-15 warning got printed to console:
> > >
> > > "07.09.2007 0:18:07
> > > org.apache.myfaces.trinidadinternal.io.DebugHtmlResponseWriter
> > > _errorWithComment
> > > WARNING: Illegal HTML: cannot put a  element in a 
> > element."
> > >
> > > I checked HTML and there are really some strange ""
> > > blocks.
> > > My question is should those warnings be reported? Or I just have
> > > to set
> > > logger threshold a little higher in production? :)
> > >
> > > Thanks.
> > >
> > >
> > >
> > >
> > > --
> > > Chordiant Software Inc.
> > > www.chordiant.com 
> >
>
>


Re: [Trinidad] "Warning: Illegal HTML..." should be reported?

2007-09-06 Thread Matt Cooper
If possible, I would suggest swapping the order of the tr:panelFormLayout
and tr:subform tags.  That should correct the invalid HTML problems since I
suspect the inputText components are expecting to be direct children of the
panelFormLayout.

Thank you,
Matt

On 9/6/07, Vadim Dmitriev <[EMAIL PROTECTED]> wrote:
>
> Fair enough :)
> Seems that each component in tr:subform that is placed into
> tr:panelFormLayout produces two html warnings.
>
> Here is jsf page:
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> Produces (inline; i think it's necessary to send it as an attachment):
>
>  "http://www.w3.org/TR/html4/loose.dtd";> lang="en">
>   
> 
>
>  href="/ru.bpc.sandbox.trinidad/adf/styles/cache/rast-
> desktop-1349468388-en-gecko.css"> type="text/javascript">var _AdfWindowOpenError='A popup window blocker
> has been detected in your browser. Popup blockers interfere with the
> operation of this application. Please disable your popup blocker or
> allow popups from this site.';
> src="/ru.bpc.sandbox.trinidad/adf/jsLibs/DebugCommon1_0_2.js"> type="text/javascript">_defaultTZ()
>   
>
>id="_pprBlockingDiv" onclick="return _pprConsumeClick(event);"
> style="position:absolute;left:0;top:0;width:0;height:0;cursor:wait;"
> onkeydown="return false;" onkeyup="return false;" onmousedown="return
> false;" onmouseup="return false;" onkeypress="return false;"> name="top">
> This page uses JavaScript and requires a JavaScript
> enabled browser.Your browser is not JavaScript enabled.
> 
>  onkeypress="return _submitOnEnter(event,'_idJsp1');"
> action="/ru.bpc.sandbox.trinidad/faces/applicationform1.jsp"> class="af_panelFormLayout"> border="0" summary="" style="width: auto">
>cellpadding="0" cellspacing="0" border="0" width="100%"
> summary="">
>   
>
>   
> 
>
>   
>
>class="af_panelFormLayout_content-cell"> id="_idJsp3:_idJsp4__xc_">
>id="_idJsp3:_idJsp4::icon" style="display:none;"> name="_msgAnc__idJsp3:_idJsp4" title="Error"
> class="AFErrorIconStyle">X
>
>class="AFContentCell"> id="_idJsp3:_idJsp4" name="_idJsp3:_idJsp4" class="af_inputText_content"
> size="30" type="text">
> 
>   
>
>class="OraInlineInfoText"> style="display:none;" class="OraInlineErrorText">
> 
>
> 
>  name="org.apache.myfaces.trinidad.faces.FORM" value="_idJsp1"> type="hidden" name="org.apache.myfaces.trinidad.faces.STATE"
> value="!1">function
> __idJsp1Validator(){return true;}var
> _idJsp1_SF={"_idJsp3":1}; type="text/javascript">_submitFormCheck();
>   
>   
>
>
> Thanks.
>
> Danny Robinson wrote:
> > If you can supply the source page snippet and the rendered output we
> > should be able to figure out if there's a problem to report.
> >
> > Thx,
> >
> > Danny
> >
> > On 9/6/07, * Vadim Dmitriev* <[EMAIL PROTECTED]
> > > wrote:
> >
> > Hi.
> > I was making up yet another page when noticed that when i open it
> > in the
> > browser about 10-15 warning got printed to console:
> >
> > "07.09.2007 0:18:07
> > org.apache.myfaces.trinidadinternal.io.DebugHtmlResponseWriter
> > _errorWithComment
> > WARNING: Illegal HTML: cannot put a  element in a  element."
> >
> > I checked HTML and there are really some strange ""
> > blocks.
> > My question is should those warnings be reported? Or I just have
> > to set
> > logger threshold a little higher in production? :)
> >
> > Thanks.
> >
> >
> >
> >
> > --
> > Chordiant Software Inc.
> > www.chordiant.com 
>


[Trinidad] "Warning: Illegal HTML..." should be reported?

2007-09-06 Thread Vadim Dmitriev
Fair enough :)
Seems that each component in tr:subform that is placed into
tr:panelFormLayout produces two html warnings.

Here is jsf page:










Produces (inline; i think it's necessary to send it as an attachment):

http://www.w3.org/TR/html4/loose.dtd";>
  

 
var _AdfWindowOpenError='A popup window blocker
has been detected in your browser. Popup blockers interfere with the
operation of this application. Please disable your popup blocker or
allow popups from this site.';_defaultTZ()
  

  
This page uses JavaScript and requires a JavaScript
enabled browser.Your browser is not JavaScript enabled.


  
  
   
  


  
   
  
  X
   
  

  
   
  



function
__idJsp1Validator(){return true;}var
_idJsp1_SF={"_idJsp3":1};_submitFormCheck();
  
  


Thanks.

Danny Robinson wrote:
> If you can supply the source page snippet and the rendered output we
> should be able to figure out if there's a problem to report.
>
> Thx,
>
> Danny
>
> On 9/6/07, * Vadim Dmitriev* <[EMAIL PROTECTED]
> > wrote:
>
> Hi.
> I was making up yet another page when noticed that when i open it
> in the
> browser about 10-15 warning got printed to console:
>
> "07.09.2007 0:18:07
> org.apache.myfaces.trinidadinternal.io.DebugHtmlResponseWriter
> _errorWithComment
> WARNING: Illegal HTML: cannot put a  element in a  element."
>
> I checked HTML and there are really some strange ""
> blocks.
> My question is should those warnings be reported? Or I just have
> to set
> logger threshold a little higher in production? :)
>
> Thanks.
>
>
>
>
> -- 
> Chordiant Software Inc.
> www.chordiant.com  


Re: [Trinidad] "Warning: Illegal HTML..." should be reported?

2007-09-06 Thread Danny Robinson
If you can supply the source page snippet and the rendered output we should
be able to figure out if there's a problem to report.

Thx,

Danny

On 9/6/07, Vadim Dmitriev <[EMAIL PROTECTED]> wrote:
>
> Hi.
> I was making up yet another page when noticed that when i open it in the
> browser about 10-15 warning got printed to console:
>
> "07.09.2007 0:18:07
> org.apache.myfaces.trinidadinternal.io.DebugHtmlResponseWriter
> _errorWithComment
> WARNING: Illegal HTML: cannot put a  element in a  element."
>
> I checked HTML and there are really some strange "" blocks.
> My question is should those warnings be reported? Or I just have to set
> logger threshold a little higher in production? :)
>
> Thanks.
>



-- 
Chordiant Software Inc.
www.chordiant.com


[Trinidad] "Warning: Illegal HTML..." should be reported?

2007-09-06 Thread Vadim Dmitriev
Hi.
I was making up yet another page when noticed that when i open it in the
browser about 10-15 warning got printed to console:

"07.09.2007 0:18:07
org.apache.myfaces.trinidadinternal.io.DebugHtmlResponseWriter
_errorWithComment
WARNING: Illegal HTML: cannot put a  element in a  element."

I checked HTML and there are really some strange "" blocks.
My question is should those warnings be reported? Or I just have to set
logger threshold a little higher in production? :)

Thanks.