How does a Model define how many tiles are display in a TiledView?

597 byte By Guest at 2007-11-25 9:32:24
I saw this comment and line of code in the Jato Sample apps:// Since the tiled view is bound to the default model, the size of // the model must be set for it to display any datagetPrimaryModel().setSize(10);Now if I called the setPrimaryModelClass(MyOwnTiledView.class) withinmy TiledView ...

How do we turn on JNDI

109 byte By Guest at 2007-11-25 9:32:26
Todd,Is Jndi turned on be default? and if not how do we turn it on?

have button in tailed view which is bound to a data object

415 byte By Guest at 2007-11-25 9:32:27
Hi,Any one have seen this problem?!I have button in tailed view which is bound to a data object. On "begin Display event" I get button value as "null". I could not read the Label/Value of this button. Could any one help me how to set up button value form dataObject. This project was migrated ...

checkbox problem

2564 byte By Guest at 2007-11-25 9:32:30
Hi All,I am a novice so please excuse if you find anything dumb.I have a jsp page that has 2 jato:href tags. One handles staring aserver in normal mode and the other handles the starting of a serverin debug mode.In the view bean implementation I have a handleStart and ahandleStartInDebug ...

UIF FunctionalModelBase

1077 byte By Guest at 2007-11-25 9:32:31
Hiwe are migrating from ND5 to iPlanet. we are using Imt JATO 1.2. The modelclasses extends UIF FunctionalModelBase. The JATO package doesn't have UIFpackage and hence none of my model classes are compiling. Now how do I goabout it?.Should I install UIF that comes along with iPLanet ...

[iPlanet-JATO] Deployment problem

1806 byte By Guest at 2007-11-25 9:32:32
Chidu.Did you also adjust the following member in each of the ViewBeans?public static final String DEFAULT_DISPLAY_URL="/jatosample/module1/Index.jsp";Try adjusting this to be consistent with your new hierarchy.Also, if you still have problems, send us the error message that you recievewhen ...

SessionModel ?

153 byte By Guest at 2007-11-25 9:32:36
Hi,Has anyone use SessionModel class, and can someone give me a code snippet on this. Allam

Netdynamics and ssl

982 byte By Guest at 2007-11-25 9:32:37
Hi Everybody,I know this is a Jato forum, but since some of you guys are also Netdynamics experts, I thought let me post this question here also.We have a project on NetDynamics 5.0 (app server) and Netscape Enterprise Server (web server). Right now all of our pages use SSL. I want some of the ...

[iPlanet-JATO] onBeforeRequest(); Finding requested view from requestContext

2199 byte By Guest at 2007-11-25 9:32:40
The problem is that you don't know what the target view is until it has been forwarded to.Think about it... the request handling view bean (or command object) has the request handler that has the code that will ultimately forward to another view bean. This is code that you have written. So, ...

GX Error (GX2GX)

460 byte By Guest at 2007-11-25 9:32:46
Anyone knows what this error means:GX Error (GX2GX)socket result code missing!!!I am trying to use Enterprise connector for R/3 on iPlanet Application Server. I have a jsp and a servlet. Servlet calls a function from SAP R/3. I have copied code from sample programs that came with connector ...

[iPlanet-JATO] Not working in Netscape

3363 byte By Guest at 2007-11-25 9:32:47
Although this is a long URL (~1.3K), it shouldn't be long enough to be aproblem. Instead, I suspect the problem is that there appears to be a spacebetween "Apline" and "Shutters". How is the parameter "company_name" beingput on the URL? Try a different URL without a space in the company name ...

[iPlanet-JATO] Re: How to add session scoped where criteria

2570 byte By Guest at 2007-11-25 9:32:48
Divakar--The easiest way I can think to do this is to create an additionalQueryFieldDescriptor in your model that uses "UPPER(EMPLID)" as the columnname. In other words, you are going to declare a completely synthetic fieldin your model. You will want to set the query type ...

[SunONE-JATO] jato forms

2715 byte By Guest at 2007-11-25 9:32:54
Basically, no, though you may want to avoid a lot of repeated stringmanipulation in the content tag's endDisplay event. However, you'd have todo quite a bit of that for it to show up in a profile of your application.In other words, 100 fields on a page whose content is being parsed ...

defaultCommandChild not working, presses the first button instead.

989 byte By Guest at 2007-11-25 9:32:57
Hi,In JATO 1-2-2I have a form with 3 buttons and 2 text fields.I have set the defaultCommandChild properly (I think).But when I type something in the text field and hit enter, it focusesto the first button on the form, and hits it.This is with IE5.5 and Mozilla1.2.1Any thoughts?<body ...

[SunONE-JATO] jato forms and the action tag

2064 byte By Guest at 2007-11-25 9:33:00
Jayne,It sounds like you are trying to do a workaround for something that JATO does by default.Can you please be more explicit with your requirements because I'm not really sure what the problem really is.thankscraig jayne246810 wrote:> I would appreciate any tips on the use of action ...

Patch 3 / iMT crashes during the Translation phase

3900 byte By Guest at 2007-11-25 9:33:02
Hello,I am new to the iMT tool and I am running across couple of issues. First, when I apply patch three. I am getting the following exception when I invoke the JATO Packaging tool:Error processing file "NavigationException.java": java.io.IOException: Resource ...

escapeSingleQuotes.

1018 byte By Guest at 2007-11-25 9:33:06
I have a clarification.When we use dataobjects for database operations, we need to explicitly useescapeSingleQuotes when we use setSQLTemplate andsetStaticWhereCriteriaString.And of course, when we execute embedded SQL, we need to use that.The rest of the places is handled by JATO right ? or ...

First, Prev, Next, Last Display

1087 byte By Guest at 2007-11-25 9:33:09
In NetDyanmics I was able to show or not show the First, Previous, Next and Last buttons depending on the state of the repeated. For instance, if the repeated was display the first rows of data and there were no previous rows, I would not display the First and Previous buttons. Likewise if the ...

"Date formatting not supported yet"?

522 byte By Guest at 2007-11-25 9:33:15
When I add imports to get around the problem described in my previous email, I run into an exception that says "Date formatting not supported yet". The exception is thrown in util/HtmlUtil.java. What's the intention here? Why don't we just return the value unformatted? How should I handle ...

Adding Hrefs to radio buttons

694 byte By Guest at 2007-11-25 9:33:16
I would like to have the text next to my radio buttons be links that I canclick on to bring up other pages. Is there any way to do this in Jato? When creating the Radio buttons, there is only one tag for this in the jsp. I then create the text by using an OptionList. However this is just a ...

[iPlanet-JATO] Re: Dynamic Page Generation

6860 byte By Guest at 2007-11-25 9:33:28
Jeff,Make sure that the TLD for the new version of JATO is deployed instead of the old one. Just a sanity check.mattjcain2 wrote:> Todd,> > I am resurrecting this issue because we have received a copy of JATO > 1.2.1 and it does NOT seem to fix the problem. It would appear that ...

JATO Vs Struts

686 byte By Guest at 2007-11-25 9:33:29
Hi,We have to recommend a framework to a client for their next project and havingdone a few JATO projects we'd like to use JATO, but they've heard alot aboutStruts. I've done a little reading up about struts but I dont see why Strutswould be any better than JATO or JATO better than Struts ...

Dynamic Page Generation

13464 byte By Guest at 2007-11-25 9:33:30
Mike,Not sure what happened, but the new JATO 1.2.1 seems to have fixed my problem. I did a cleanup on my Reference Implementation, redeployed and it started working. I was tipped off that it was a deployment issue when one of the other guys got his working. I guess we can close this ...

[SunONE-JATO] JATO - Handle Button Event being called twice on oneclick.

6110 byte By Guest at 2007-11-25 9:33:31
hi,your method is over a thousand lines long ? (sorry i should not comment on this)may i know what is the name of the view bean thathave this method i.e. handleBtnAddRequestyou have... getViewBean(pgGroundingAddViewBean.class);objPgGroundingAdd.forwardTo(getRequestContext());are you forwarding ...

[iPlanet-JATO] Re: Patch 3 / iMT crashes during the Translation phase

12731 byte By Guest at 2007-11-25 9:33:34
Hi Deepak--Here are the main things I'd look at:- Make sure you're using JDK 1.2.2- Make sure you've upgraded the project to ND5 using the instructions in theSurvival Guide- Make sure all your project classes have been compiled- Make sure all *.ser files are deletedAlso see the ...

Getting hidden value from tile problem.

1876 byte By Guest at 2007-11-25 9:33:36
On a web event I'm trying to step through the tile retrieving the value of a checkbox, and a hidden field. The problem is when I retrieve the value of the hidden field, I am given the value of the checkbox.Code:...try {pg_confrp_queuesTiledView tv = getRp_queues();tv.resetTileIndex();while ...

problem with getNumTiles() method...

714 byte By Guest at 2007-11-25 9:33:38
Hi,I have a page which has Repeated Tile of 25 rows . Each tile has twostatic textfields, two checkboxes and one textbox. While user submitsthis form after selecting checkboxes, i have to get those values.While, i am trying to get the no of tiles displayed in the page usinggetNumTiles() ...

Without touching the JSP file

440 byte By Guest at 2007-11-25 9:33:40
Hi,I just want to set a text in my browser with bold face from my begin....Display method. say <B>Back></B>.Since i decalare this as a text and using .setvalue() i'm getting it as it is(i.e <B>back</B> in browser o/p. Can u suggest me the solution ? Todd, thanks for ...

Data object

562 byte By Guest at 2007-11-25 9:33:52
Can easily get a model via:doGetErrorMessagesModelImpl doMessage = new doGetErrorMessagesModelImpl();problem being... in the case of CSpider.getDataObject(String name) --> CSpSelect doCodeTable =(CSpSelect) CSpider.getDataObject(strDataObject);I would have to use reflection or something to ...

[SunONE-JATO] components?

3145 byte By Guest at 2007-11-25 9:33:54
Hi Hugh--S1AF 2.0 was just released recently, and there is currently no public Suncomponent repository available. We are working to make this happen, but Ican't promise a delivery date.I'm sorry, but the calendar component we demonstrated is not publiclyavailable. It and related components ...

call from a servlet

674 byte By Guest at 2007-11-25 9:33:56
How can I call the ViewBean from an independent servlet in the samedirectory? I want the servlet to upload some data in the session andthen I want the ViewBean to retrieve it. I tried to forward the callto the ViewBean in the following way - String address="/Trial"; //where TrialViewBean is ...

Model binding and tiled views in jato

11946 byte By Guest at 2007-11-25 9:33:59
In a view bean using the tiled view classes I have written, I use the following code in the createChild method: if (CHILD_TILEDVIEW.equals(name)) {WSCTiledView overview =new WSCTiledView(this,CHILD_TILEDVIEW);return overview;}I have a WSCTiledView class, a Model class and Model implementation, ...

JATO Models and connecting to Oracle

1689 byte By Guest at 2007-11-25 9:34:01
I am having a problem connecting to Oracle through JATO models. I canconnect fine when I manually grab a connection via a JNDI lookup in my codebut when I try to execute a model with a valid Oracle datasource I amgetting the following error:java.sql.SQLException: No suitable driverat ...

Tiled views with href links and forwarding

1010 byte By Guest at 2007-11-25 9:34:03
Hi.I have a tiled view with href links. Every link should forward to the samepage. Unlike the Jato sample, my href handler does not forward to its parent but should forward to an entirely different viewbean. All my handler code does is :Viewbean targetview = ...

Migrating ND to a J2EE container without tool?

1003 byte By Guest at 2007-11-25 9:34:04
Hi Mike/Todd,Would it be possible to migrate a ND app to a J2EE container without using iMT? There are standard JAVA classes which are pretty similar in functionality to NetDyamics prorprietary classes, Spider classes. All the ND Database calls extensively use data objects and proprietary ...

Best approach... TiledView or regular ViewBean

2654 byte By Guest at 2007-11-25 9:34:12
I'm wondering what approach would be best with JATO and the displayI'm trying to build on a JSP page. My page layout will look somethinglike this...Checked Out Items: (none)ToDo Items: 3 InfoDocs2 Sun AlertsDraft Items: (none)My Docs: 345 InfoDocs28 Sun Alerts18 SRDB's Now, this might get ...

Query on eventFlow of bounded dataObject

1066 byte By Guest at 2007-11-25 9:34:19
Hi all,I am studying the event flow for a bounded dataObject within a page andgot lost at one point. This is the flow I am working on. Flow of the events,1) Inside doStartTag() of 'UseTiledViewTag', beginDisplay() ofTiledViewBean is called2) Inside beginDisplay() of TiledViewBean, ...

session timeout event

2474 byte By Guest at 2007-11-25 9:34:23
The applicationServletBase fires sessionTimeout event and also goes on tocall other events like dispatchRequest. So, even though we would havehandled say loading a timeout page in the sessionTimeout event, some notneeded processing occurs later on as the request still contains parameterslike ...

[iPlanet-JATO] JATO 1.2.1

7805 byte By Guest at 2007-11-25 9:34:24
Raji,1. What version of iAS ar you running?2. What JATO application are you trying to run?3. What does the URL you are submitting look like? 4. Have you tried deploying the JATO Sample applicaton that you can findin the "extras" directory?You might want to start with a well known application ...

Collecting all outstanding patches

210 byte By Guest at 2007-11-25 9:34:25
Sorry for being out of the loop for a while. I'll ask some redundant questions for a while.Where do I get all patches which have been issued on the 1_0 release?

[iPlanet-JATO] Curious about name

1319 byte By Guest at 2007-11-25 9:34:26
Jeff--Well, it's "JATO" to us. <grin> Sun originally changed the official name to"iPlanet Presentation Framework", but then more recently changed it to"iPlanet Application Framework" (without telling any of us). So, now, theofficial name is iAF.Todd-- Original Message --From: "jcain2" ...

addUserWhereCriterion/setWhereClauseOverride question

1069 byte By Guest at 2007-11-25 9:34:27
I have a search page that I enter values into. When the user clicks the handler method of the search button takes the values from the page and calls addUserWhereCriterion on the dataobject bound to the results page. This works fine. However, I need the where clause to call uppper(column_name) ...

Usage of ContainerView

389 byte By Guest at 2007-11-25 9:34:28
Hi,We have a ND page having 2 repeated objects. In the corresponding "JATO world", is it better to use a ContainerView to contain the tiled views instead of a normal view and what are the pros and cons(if any)? Also, are there some code samples for the usage of ContainerViews? Please ...

unknown exception

1948 byte By Guest at 2007-11-25 9:34:29
I am writing something like this in one of the viewbeans.ResultSet results = stmt.executeQuery(criteria);if (results == null) {getSession().setAttribute("LoginError", DB_FAILURE_MSG);}Its throwing exception like this.[20/Apr/2001 14:35:08:2] error: Exception: SERVLET-execution_failed: Error in ...

[iPlanet-JATO] Href click & tiled view display

9951 byte By Guest at 2007-11-25 9:34:32
Srinivas,I hope that I am not oversimplifying your first question; repost if I do notanswer your question. Independent of JATO, HTML Form button sumbits willinclude the scraping of data off the form input fields; the data will passedas part of the body of the HTTP request. Therefore, you would ...

invalid column name exception

912 byte By Guest at 2007-11-25 9:34:35
I am receiving an Invalid column name SQLException. I initiallythought it was a problem with the computed fields, but was aftermaking the usual changes to the model implementation the exception isstill occurring. I can run the SQL statement in SQLplus and get noerrors and the three results ...

Receiving a ZipException when starting Tomcat

3015 byte By Guest at 2007-11-25 9:34:37
I have a .war file in my webapps directory representing my applicationbased on the Jato framework. I'm getting the exception below when ittrys to grab my war file and expand it. The end result gives me aVoyager/ directory but the directory is totally empty. If I un-tar thewar file in my ...

[iPlanet-JATO] Emulating NetDynamics session locks during WebEvents

5892 byte By Guest at 2007-11-25 9:34:38
James,I am sure some of my colleagues will jump in here. But here is my 2 cents.Matt Steven's in particular has thought about this issue ... Matt?See inlined comments-- Original Message --From: <<a href="/group/SunONE-JATO/post?protectID=045166014056099131112061004165250248102 ...

What is JATO is not our target arquitecture / double migration justified ?

2986 byte By Guest at 2007-11-25 9:34:46
NOTE: first of all thanks Craig V Conover for your suggestions that did help me out!Dear people,Has anybody tries to re-migrate the resulting JATO project to another architecture you already had in place in your companies?We use the STRUTS model-view-Controller implementation of APACHE. I ...

[iPlanet-JATO] Problem

10750 byte By Guest at 2007-11-25 9:34:51
Raji--First, try this URL:<a href=" http://localhost:8080/JatoSample/index.html"> http://localhost:8080/Jat oSample/index.html</a>and see if it comes up at all. If not, I would guess you are having adeployment issue.Second, iAS GX errors are next to impossible to debug without ...