Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stylesheet not working in JSP when using JSTL

 
sachin yadav
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i am coding a JSP page and running this on oracle AS. i am using JSTL to show data in the page when the page loads. Everything comes fine except that the textbox showing data is displayed small in height i.e. style sheet is not getting effected for that textbox, this is happening for all the fields present in JSTL code block.

the code block whihc is not in JSTL code block i.e. not dynamic is shown according to stylesheet but all other data is not showing according to stylesheet settings. please help me out.

regards,
sachin
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't imagine JSTL having some kind of influence on your stylesheets settings. Could you please post one textbox with the JSTL you are using ?
 
sachin yadav
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx for the reply.

Acctually the code i am using is for oracle portlet. the code is -



don't get much into 'NAME' because it's for oracle portlet, class 'FORMINPUT' is from stylesheet.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. And if you look at the generated HTML, how does it look ? Could you post it too ?
 
sachin yadav
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the HTML of that text box --

<input name="_piref286_1160942_286_1160772_1160772.name" id="name" type="text" class="forminput" value='phil'>
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And could you post the same kind of input tag which is working (those not in JSLT blocks)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic