« Return to Thread: visual web JSF page--jsp and design out of sync

Re: visual web JSF page--jsp and design out of sync

by Winston Prakash :: Rate this Message:

Reply to Author | View in Thread

cayhorstmann wrote:
Thanks for confirming. It seems as if the form editor is still very much a
work in progress. Here are some of the other problems that I ran into.

* When I put a style into resources/stylesheet.css and then try to add it
into the styleClass field, I am sternly told that no such style exists, and
the editor removes it again. 
  
Try refreshing the designer and then look for the styleclass. If still see the problem then file a bug,
* Twice, I managed to drag my components outside the webuisf:form and then
scratched my head for an hour why none of the buttons worked.
  
Please file a bug against this.
* I very much dislike that components with rendered=(some expression that it
can't evaluate at design time) are not rendered. At design time, just show
me everything. I just want a 2D display of my stuff, not a faithful WYSIWYG
design.
  
Please file a bug against this
* I really don't want the Rave-style backing beans with all those component
bindings. I wish there was a mode where it just keeps the JSP and the design
view in sync, without creating a backing bean. (Then, when making an event
handler, it would have to ask me in which managed bean I want to put it.)
  
This is already fixed for NB 6.1
http://wiki.netbeans.org/wiki/view/VW_binding_removal
http://www.netbeans.org/issues/show_bug.cgi?id=123536

- Winston
http://blogs.sun.com/winston
Are there any plans to improve the designer in 6.1?


FromDotNetToJava wrote:
  
I have experienced this exact issue when copying Visual JSF components
from one page to another, whether in Design or Edit view. As a matter of
fact, if you attempt to compile, the build fails! Unfortunately, your SOL.
I worked around this by rebuilding the layout in the new page, dragging
and dropping manually. I know, it really sucks!

:-U


cayhorstmann wrote:
    
I have a JSF visual web page, and I copy/pasted something from another
page into the JSP view. Seemed faster than
drag-and-drop-and-drag-and-drop-and-drag-and-drop. But now the design
view doesn't show that part. Neither does the navigator window. Am I
hosed? Do I need to throw away the page and redo it from scratch? Or is
there a way to force synchronization? 

      
    

  

 « Return to Thread: visual web JSF page--jsp and design out of sync