Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [wtp-jsf-dev] JSF JSP Editor


Well, I guess the best way to do the first would be to have our own custom componenets. Basically what we want is that whenever a component is added to the page or edited, there is some of our own code which needs to be called.

For the other thing I don't exactly want the tag attributes to be dynamic but the properties view to be dynamic. So suppose we have a custom tag which we add to the page and now when we click on it we get a properties view. What I want to know is how we can make the properties visible in this properties pane as dynamic. The tag remains the same and the TLD has all the properties but a different subset of these properties should be visible to the user at any time.

I s this possible?

Thanks a lot
Varun



"Cameron Bateman" <cameron.bateman@xxxxxxxxxx>
Sent by: wtp-jsf-dev-bounces@xxxxxxxxxxx

09/29/2007 01:01 AM

Please respond to
"cameron.bateman@xxxxxxxxxx" <cameron.bateman@xxxxxxxxxx>; Please respond to
Java Server Faces Tools developer discussion        <wtp-jsf-dev@xxxxxxxxxxx>

To
"Java Server Faces Tools developer discussion" <wtp-jsf-dev@xxxxxxxxxxx>
cc
Subject
RE: [wtp-jsf-dev] JSF JSP Editor





Hi Varun,
 
> need to add a functionality to the editor such that if anything changes in the JSP or the view pane then i need to make some
> changes in the backend as well
 
Can you expand on this?  Do you need to be able respond the instant a change is made, when the JSP is saved or when it is next built as part of the web project?  By updating the backend, are you talking about rebuilding and deploying your web app (i.e. some WAR, EAR, ?AR) or is it something less standardized like your own socket call?
 
> Another requirement I have is to have the list of attributes visible in the properties sheet as dynamic? Is this possible?
 
Do you mean tag attributes?  In what way can these be dynamic in a JSP given a generic TLD definition?
 
 
Regards,
 
Cameron

-----Original Message-----
From:
wtp-jsf-dev-bounces@xxxxxxxxxxx [mailto:wtp-jsf-dev-bounces@xxxxxxxxxxx]On Behalf Of Varun.Shingal@xxxxxxxxxxx
Sent:
Thursday, September 27, 2007 11:38 PM
To:
wtp-jsf-dev@xxxxxxxxxxx
Subject:
[wtp-jsf-dev] JSF JSP Editor


Hi


I am working on the Web Editor for the JSP and have a few questions. I need to add a functionality to the editor such that if anything changes in the JSP or the view pane then i need to make some changes in the backend as well. Is this possible to do? Where would I need to make the changes?


Another requirement I have is to have the list of attributes visible in the properties sheet as dynamic? Is this possible?


The main problem is that is there some way provided to call our code whenever something changes in the jsp?


Thanks

Varun
_______________________________________________
wtp-jsf-dev mailing list
wtp-jsf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-jsf-dev


Back to the top