JSR-186 和 168 中的 Life Ray 生命周期方法

发布于 2024-12-18 06:00:44 字数 435 浏览 3 评论 0原文

我是 Life-ray 甚至门户应用程序的新手。我刚开始学习近15天,昨天我参加面试,他们问我以下问题,我也回答了一些问题,但帮助我理解以下问题。

你是在什么环境下工作的。 回答:我使用的是 eclipse IDE 和插件 SDK(根据他们的说法,这是不正确的,可能是我错了)

如果我们有一个包含文本字段和按钮的页面,如果我单击按钮会发生什么。 答:我问的是要看我们用的是struts还是spring什么框架。然后他们问你是否没有使用任何框架, 然后我说 portlet 的生命周期方法(init、processAction、render、destroy),

按照他们的说法,这也是不正确的。

请帮助我理解正确答案。

有什么特定于生命射线传送门的东西吗,我很困惑。

JSR-186 和 JSR-268 之间的生命周期方法有什么区别吗?

谢谢

I am newbie in Life-ray even portal application. I just started study last 15 days, and yesterday I attend an interview, they ask me following question, some of the question I answered also, but help me to understand about following questions.

What environment have you worked.
Answer: I was using eclipse IDE and plugin SDK(as per them it was not correct,probably I am wrong)

If we have a Page containing a text field and button, what will happen if I click on button.
Answer: I asked it depends what framework we are using struts or spring. then they asked if you are not using any framework then,
Then i said Life-cycle methods of portlet( init, processAction, render, destroy)

as per them this was not correct also.

Please help me to understand the correct answer.

Is there any thing specific to life-ray portal, I am quite confused.

And is there any life cycle methods difference between JSR-186 and JSR-268.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不甘平庸 2024-12-25 06:00:44

您在什么环境下工作

这完全取决于环境的含义,因为它可以是编程环境(IDE、其他工具、语言),也可以是工作环境(团队、方法论等)。您能详细说明一下他们的要求吗?

如果我们有一个包含文本字段和按钮的页面,如果我单击按钮会发生什么

这实际上是开放式的,并且取决于编写的代码。然而,我们假设该按钮链接到一个表单,该表单的操作是调用 Portlet 流程操作方法,那么就会发生这种情况。之后,它可能会再次进入渲染阶段,但这取决于 portlet 内编写的代码!

我个人认为他们的问题有点笼统,他们可能一直在寻找您来进一步缩小他们的问题范围。

其他人怎么看?

What environment have you worked

That entirely depends one what they mean by environment as it could be programming environment (IDE, other tools, languages) or it could work environment (teams, methodologies, etc). Could you elaborate more on what they asked?

If we have a Page containing a text field and button, what will happen if I click on button

Again this is really open ended, and depends on what code is written. However we assume that the button is linked to a form, who's action is to invoke the Portlets process action method, then that's would would happen. After that it would probably enter the render phase again, but it depends what code has been written inside the portlet!

I personally think their questions are a bit generic, and they may have been looking for you to narrow down their questions more.

What do other people think?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文